LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2009, 04:06 AM   #1
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Rep: Reputation: 15
some help with the fstab and boot issue


Ok i having some issue's with my boot and the order of drives in the fstab.

Every time I log in I get an table error while from what I can see there is no issue. Now I can log in normally and my partitions and HD's do mount. But every time it's a supprise with which name they get mounted. I have got links to mounted partition so I need this to keep the same. Can someone help me.

Here is my fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# /dev/sda6
UUID=73cdfdc6-2a02-4869-877f-75d44b485839 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda7
UUID=92f6ed19-403c-4625-b230-aa5a258c8b6e /home ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hda1
# /dev/hda2
# /dev/hdb1
# /dev/sda2
# /dev/sda4
# /dev/sda5
UUID=751d1b55-e834-4dca-93c8-4355c8d6ae2b none swap sw 0 0
/dev/scd0 /media/cdrom0 auto user,atime,auto,rw,dev,exec,suid 0 0

/dev/sda3 /media/sda3 ext3 user,atime,noauto,rw,dev,exec,suid 0 2
/dev/sda3 /media/sda3 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sdc <mount\040point> auto nouser,atime,noauto,rw,nodev,noexec,nosuid 0 0
/dev/sdb2 /media/hda2 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sdb1 /media/hda1 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sda4 /media/sda4 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sda2 /media/sda2 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sda1 /media/sda1 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sdc2 /media/sdc2 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sdc3 /media/sdc3 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0
/dev/sdc4 /media/sdc4 ext3 nouser,atime,auto,rw,dev,exec,suid 0 0

I have 3 HD's with 1 HD with just 1 partition, 1 HD with 2 partition, and 1 HD (SCSI) with 4 partitions (1 for linux/ i.e. divided in 3)

How to fix it so the naming stays i.e. the mount of the partitons doesn't change name!!
 
Old 02-19-2009, 05:08 AM   #2
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
To help solve this some additional info:

The error i'm getting has to do with some old table (reiserfs) I used bfore I reformated some partions to ext3. Further I had a test version of Ubuntu 9.04 on my linux partion which i deleted and am now only using Ubuntu 8.04 LTS
 
Old 02-19-2009, 05:49 AM   #3
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
UUID for swap

One problem I can foresee is that you have the swap partition set up with a UUID. If you install a distro later, and the distro formats the swap drive, then the UUID will be changed. To be sure check to see if the UUID has changed:
vol_id /dev/sda5
 
Old 02-19-2009, 06:32 AM   #4
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wificraig View Post
One problem I can foresee is that you have the swap partition set up with a UUID. If you install a distro later, and the distro formats the swap drive, then the UUID will be changed. To be sure check to see if the UUID has changed:
vol_id /dev/sda5
after some searching i found this as the swap

vol_id /dev/sdc5
ID_FS_USAGE=other
ID_FS_TYPE=swap
ID_FS_VERSION=2
ID_FS_UUID=751d1b55-e834-4dca-93c8-4355c8d6ae2b
ID_FS_UUID_ENC=751d1b55-e834-4dca-93c8-4355c8d6ae2b
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=

Should I change the swap to be recognised by device?
 
Old 02-19-2009, 03:27 PM   #5
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wificraig View Post
One problem I can foresee is that you have the swap partition set up with a UUID. If you install a distro later, and the distro formats the swap drive, then the UUID will be changed. To be sure check to see if the UUID has changed:
vol_id /dev/sda5
I did change my swap device and that seemed to have done the trick. No more changing mount points and no more errors during boot.
 
Old 02-19-2009, 03:29 PM   #6
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
Depends on you

I regularly test distributions, probably install 1-2 a month as they are released on distrowatch, and reformat to test something else. So, for me I do it because some distro installers don't give the user a choice to not format the swap partition.
If you don't reformat the swap, you should be fine, I just wanted you to know that you could check to make sure your swap didn't change.
 
Old 02-19-2009, 03:35 PM   #7
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
Hard Drives

Are your hard drives external USB drives or internal?
 
Old 02-19-2009, 04:46 PM   #8
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wificraig View Post
Are your hard drives external USB drives or internal?
all internal thats why it was so strange but I got rid of the error now at least. I hope at the mounted drives now stay like they should
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue in mounting from /etc/fstab janab Linux - Server 2 09-26-2008 07:34 AM
Issue with /etc/fstab amishtechie Debian 2 11-14-2007 05:37 PM
Suse won't boot after fstab changes - fstab not editable baking-a-77 Linux - Newbie 10 06-02-2007 10:51 AM
/etc/fstab issue trying to rescue old Linux installation subu_s Linux - Software 1 05-13-2006 03:57 AM
FSTAB issue??? vbtalent Fedora 13 11-28-2005 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration