Sponsored Content
Full Discussion: fstab question
Operating Systems Linux Ubuntu fstab question Post 302578315 by stumpyuk on Thursday 1st of December 2011 10:00:24 AM
Old 12-01-2011
fstab question

I have created a thumbdrive with a bootable version of Ubuntu 10.04 LTS, it uses Grub legacy.

One of the issues I have is that everytime I boot a new system from the thumbdrive, it writes entries for the partitions in the fstab. Consequently, when I boot another system, the OS reads the fstab and tries to mount partitions that don't exist on the new system. I can simply manually edit the fstab before I shutdown the system, but want to automate this. I have looked at startup and shutdown scripts but they appear to be stopping and starting services. So my questions are:
Is a shutdown script the most appropriate way to re-write the fstab on shutdown?
If not, what is the most appropriate way and how should I implement it?

TIA

Stumpy
 

10 More Discussions You Might Find Interesting

1. Linux

/etc/fstab

I've created a new drive and i've added it to my fstab file but on startup it will not mount. here is how i put it into my fstab file, is that right? /dev/hdb2 /disk2a ext3 defaults 1 2 (6 Replies)
Discussion started by: byblyk
6 Replies

2. HP-UX

bdf , /etc/fstab , /etc/mnttab

Hi all, Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued. An example of what I mean is, currently I see the following ... $ bdf -l Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 524288 ... (6 Replies)
Discussion started by: Cameron
6 Replies

3. UNIX for Dummies Questions & Answers

fstab question

Folks; Please be patient with this issue when you read it. I know it's a little tricky. I have a new share created on my SUSE 10 box. I'm trying to edit the /etc/fstab file or find a way to make this share needs no authentication. The reason for that is we're using an outside application to... (3 Replies)
Discussion started by: Katkota
3 Replies

4. UNIX for Dummies Questions & Answers

FSTAB Problem

Hello, I transferred a machine from a tape back into a virtual machine. I created several paritions so I could xfter the date into them and made sda1 the active one. When I try and boot the VM it does not work. I used KNOPPIX to create the partitions and transfer the information from the tape... (1 Reply)
Discussion started by: mojoman
1 Replies

5. Red Hat

Using a variable in fstab

We have a load of servers which require cloning in VMWare, each of which have their own area on netapp for storage. I was trying to be a bit clever and use a variable within /etc/fstab so I dont need to edit it every time like so; netapp:/vol/vol_nfs_server/servers/`hostname | sed 's/\./ /g' |... (1 Reply)
Discussion started by: JayC89
1 Replies

6. UNIX for Dummies Questions & Answers

fstab

hi , i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions. thanks (4 Replies)
Discussion started by: Linux001
4 Replies

7. Red Hat

Mount /etc/fstab

Can you please help me mount below filesystem in fstab ( I have rhel 5 ) as the line is long - it is not taking as single line How can break this in 2 line and act as one ....please help ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

8. Shell Programming and Scripting

Mount/fstab Question . . .

Greetings! Got another basic question for the community :) After wiping a drive with dd, and calling mkfs.ext4 to set things up again, fstab seems to need to be refreshed somehow to allow a call to mount for the volume. What might the "secret handshake" be to pull this off without first... (6 Replies)
Discussion started by: LinQ
6 Replies

9. UNIX for Dummies Questions & Answers

/etc/fstab mount issue

I have a virtual machine with Redhat installed . I am trying to link CD/DVD Drive 1 to /media/cdrom1 and CD/DVD Drive 0 to /media/cdrom0 I tried making these changed in /etc/fstab by adding the below line to it /dev/sr0 /media/cdrom0 iso9660 user,noauto,exec,utf8 0 0... (2 Replies)
Discussion started by: walterthered
2 Replies

10. Linux

/etc/fstab entries

Hi, Can anyone explain why we use defaults 0 0 in fstab and what does 0 inidicate 10.250.104.50:/home/u /home/u nfs defaults 0 0 Thanks in advance Muzaffar (3 Replies)
Discussion started by: muzaffar.k
3 Replies
REQUESTSYNC(1)						      General Commands Manual						    REQUESTSYNC(1)

NAME
requestsync - helper to file sync requests for Ubuntu SYNOPSIS
requestsync [-d distro] [-nse] [-k keyid] <source package> [target release] [base version] requestsync --lp [-nse] <source package> <target release> [base version] requestsync -h DESCRIPTION
requestsync looks at the versions of <source package> in Debian and Ubuntu and prompts for an explanation of why the Ubuntu changes (if there are any) should be dropped. The changelog entry is then downloaded from packages.debian.org, and the sync request bug is filed in launchpad. Alternatively, the sync request can be filed by GPG-signed email (option --email). requestsync checks if you have the permissions to request the sync from the archive administrators directly by checking if you have upload permissions for that package through package set permissions or component permissions. If you don't have upload permissions, the script will subscribe the necessary team with approval rights to the bug report for you. This check is only performed if requestsync is allowed to use the LP API (not email submission). In the other case requestsync relies on that you answer the question about upload permissions honestly to determine if a team with approval rights is to be subscribed to the bug. If you have permission to upload the package directly, then you may prefer to use syncpackage instead to copy the package using the Launch- pad API. At some future point, requestsync will be changed to do this automatically. requestsync uses launchpadlib authentication to file its requests. OPTIONS
Listed below are the command line options for requestsync: -h Display a help message and exit. -d Specifies which Debian distribution a package should be synced from. Default is testing in LTS cycles, otherwise unstable. -n Specifies that the package is a new package, and requestsync should not attempt to look it up in Ubuntu since it will not exist. -k <keyid> Specifies your GPG key. This is only used if the sync request is mailed to Launchpad. --email Use GPG-signed email to file the bug, rather than launchpadlib. -s Specifies that you require sponsorship. You need this option if you don't have upload permissions for that package. This disables the upload permissions check described above. -C Allow changelog to be manually filled in when missing. requestsync gets Debian changelogs from packages.debian.org, which isn't in sync with the Debian archive. To request a sync before the changelog is available, pass this option, and provide the changelog entries yourself. -e Use this flag after FeatureFreeze for non-bug fix syncs. requestsync will subscribe ubuntu-release team instead of sponsorship team. -l INSTANCE, --lpinstance=INSTANCE Use the specified instance of Launchpad (e.g. "staging"), instead of the default of "production". --no-conf Do not read any configuration files, or configuration from environment variables. <source package> This is the source package that you would like to be synced from Debian. <target release> This is the release that you would like the source package to be synced into. This should always be the latest development release of Ubuntu. [base version] In some cases, the base version (where the Ubuntu package started differing from the Debian package) cannot be automatically deter- mined. Specify this option in this case. ENVIRONMENT
requestsync uses the following variables which should be set in your shell's configuration by adding export VARIABLE= lines, where VARIABLE is one of the following: UBUMAIL, DEBEMAIL Specifies which email should be used when sending to Launchpad. All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. CONFIGURATION VARIABLES
REQUESTSYNC_SMTP_SERVER Set which SMTP server to use when sending mail. If unspecified this defaults to launchpad's SMTP servers (the eventual destina- tion). REQUESTSYNC_SMTP_PORT Sets which port of the SMTP server to use. Default is 25. REQUESTSYNC_SMTP_USER and REQUESTSYNC_SMTP_PASS Sets the username and password to use when authenticating to the SMTP server. REQUESTSYNC_USE_LPAPI Setting this to no is equivalent to running with --email. REQUESTSYNC_LPINSTANCE, UBUNTUTOOLS_LPINSTANCE The default value for --lpinstance. REQUESTSYNC_KEYID, UBUNTUTOOLS_KEYID The default value for -k. SEE ALSO
rmadison(1), syncpackage(1), ubuntu-dev-tools(5) AUTHOR
requestsync and this manual page were written by the Ubuntu MOTU Team. Both are released under the GNU General Public License, version 2. ubuntu-dev-tools 19 January 2008 REQUESTSYNC(1)
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy