[issue383] grml-rebuildfstab fails (probably because of funny partition order)

Wernfried Haas bts at bts.grml.org
Thu Jan 24 17:04:17 CET 2008


New submission from Wernfried Haas <amne at gentoo.org>:

After booting i noticed some partitions were missing their mount points in /mnt.
Ran grml-rebuildfstab again without success: 

root at grml ~ # grml-rebuildfstab
Scanning for new harddisks/partitions/devices.
Adding 7 new partitions to /etc/fstab.
Clean up /mnt/* directories as defined in
/mnt/.grml-auto-created_do-not-delete-this-file.
Creating directories in /mnt/... based on /etc/fstab entries.
root at grml ~ # ls /mnt
cdrom/  DATEN/  dvd/  external/  external1/  floppy/  grml/  hda1/  hda3/ 
INSTALL/  sda1/  test/  usb-sda/  usb-sda1/

root at grml ~ # cat /proc/partitions
major minor  #blocks  name

   3     0   58652496 hda
   3     1   26370666 hda1
   3     2          1 hda2
   3     3    4361647 hda3
   3     5     979933 hda5
   3     6     979933 hda6
   3     7    9767488 hda7
   3     8   16185456 hda8
   7     0     611564 loop0
   8     0    1003520 sda
   8     1    1003504 sda1
root at grml ~ # fdisk -l /dev/hda

Disk /dev/hda: 60 GB, 60052769280 bytes
255 heads, 63 sectors/track, 7301 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3283    26370666    7  HPFS/NTFS
/dev/hda2            3284        6758    27904905    5  Extended
/dev/hda5            3284        3405      971932    b  FAT32
/dev/hda6            3406        3527      971932   82  Linux swap
/dev/hda7            3528        4743     9759487   83  Linux
/dev/hda8            4744        6758    16177455    b  FAT32
/dev/hda3            6759        7301     4353615   1c  Hidd FAT32 LBA

As you can see, fdisk's output is a bit mixed up (hda3) shows up at the end.
This may have something to do with it.

Will boot the CD on a box with a normal partition layout to confirm it's not a
general bug.

----------
assignedto: mika
messages: 1088
nosy: amne, mika
priority: bug
status: unread
title: grml-rebuildfstab fails (probably because of funny partition order)

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue383>
_____________________________________



More information about the Bugs-changes mailing list