Feisty: updates on 3-29-07 royally messed up fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Low
|
Unassigned |
Bug Description
I have a lot of hard drives, including an ATA133 add-in card with 2 HDs, onboard ATA133 with 2 HDs, and one SATA HD. Upon updating all my packages to current (as of 3-29-07 at 9am Pacific), my fstab got really messed-up. Below is my fixed fstab, with the Ubuntu-generated lines commented out, and the correct lines beneath them. One should note that while everything did mount under the Ubuntu-generated configuration, all the drive letters for my SATA and ATA133 add-in card (sda1, etc) were wrong (ie the UUIDs appeared to be wrong).
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hdc1
UUID=5cb9b1f1-
# /dev/hda1
UUID=63f0e2a3-
# /dev/hda2
UUID=1981f215-
# /dev/hda3
UUID=c9d191a9-
# /dev/sda5
#UUID=88813472-
/dev/sda5 /media/sda5 vfat defaults,
# /dev/sdb5
#UUID=438E-1221 /media/sdb5 vfat defaults,
/dev/sdb1 /media/sdb1 ntfs defaults,
# /dev/sdc1
#UUID=9240E4B24
/dev/sdc1 /media/sdc1 ext2 defaults 0 2
# /dev/hda4
UUID=abfe74bc-
# /dev/hdc2
UUID=0baa44d4-
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Here is the output of "mount" under the correct configuration:
/dev/hdc1 on / type ext3 (rw,errors=
proc on /proc type proc (rw,noexec,
/sys on /sys type sysfs (rw,noexec,
varrun on /var/run type tmpfs (rw,noexec,
varlock on /var/lock type tmpfs (rw,noexec,
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/
/dev/hda1 on /media/hda1 type reiserfs (rw)
/dev/hda2 on /media/hda2 type reiserfs (rw)
/dev/hda3 on /media/hda3 type reiserfs (rw)
binfmt_misc on /proc/sys/
/dev/sda5 on /media/sda5 type vfat (rw,utf8,
/dev/sdb1 on /media/sdb1 type ntfs (rw,nls=
/dev/sdc1 on /media/sdc1 type ext2 (rw)
Here is the output of "df -h" under the correct configuration:
/dev/hdc1 19G 3.9G 14G 22% /
varrun 506M 108K 506M 1% /var/run
varlock 506M 0 506M 0% /var/lock
procbususb 506M 144K 506M 1% /proc/bus/usb
udev 506M 144K 506M 1% /dev
devshm 506M 0 506M 0% /dev/shm
lrm 506M 28M 479M 6% /lib/modules/
/dev/hda1 957M 116M 842M 13% /media/hda1
/dev/hda2 120G 36G 84G 30% /media/hda2
/dev/hda3 113G 64G 49G 57% /media/hda3
/dev/sda5 75G 52G 24G 69% /media/sda5
/dev/sdb1 38G 23G 16G 60% /media/sdb1
/dev/sdc1 294G 58G 222G 21% /media/sdc1
...and the incorrect (Ubuntu-generated) configuration:
Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 19G 3.9G 14G 22% /
varrun 506M 108K 506M 1% /var/run
varlock 506M 0 506M 0% /var/lock
procbususb 506M 144K 506M 1% /proc/bus/usb
udev 506M 144K 506M 1% /dev
devshm 506M 0 506M 0% /dev/shm
lrm 506M 28M 479M 6% /lib/modules/
/dev/hda1 957M 116M 842M 13% /media/hda1
/dev/hda2 120G 36G 84G 30% /media/hda2
/dev/hda3 113G 64G 49G 57% /media/hda3
/dev/sdc1 294G 58G 222G 21% /media/sda1
/dev/sda5 75G 52G 24G 69% /media/sdb5
/dev/sdb1 38G 23G 16G 60% /media/sdc1
I'm not sure how to get the UUID of a hard drive, but if somebody tells me how, I'll post that too. Good luck!
One more thing:
Before this update, I believe that my HDs on the add-in card were seen as /dev/hdx, like they are in my Gentoo installation on a different partition.