hda5 mounted - e2fsck: aborting

Carl Karsten carl at personnelware.com
Tue Apr 4 20:11:59 BST 2006


from #ubuntu-bugs

(6:49:08 PM) CarlFK: Kamion: ping! daily dapper: "use hda automatically" - on 
boot: "/dev/hda5 is mounted - e2fsck: can not continue - aborting"
(7:02:31 PM) CarlFK: Kamion: http://dev.personnelware.com/carl/temp/Apr03/d/

(2:44:37 AM) Kamion: CarlFK: well according to your partman log the installer 
/dev/hda5 is swap, so perhaps something is very confused, I don't know

(10:15:04 AM) CarlFK: http://dev.personnelware.com/carl/temp/Apr03/d/etc/fstab 
shows /dev/hda5       /media/hda5     ext3

fdisk shows hda5 type 82 (swap)

When it fails, I get: "Give ROOT password for maintenance"

I am trying to duplicate this on a 2nd box by setting up the partitions and 
existing FS's the same.  2 tries and no problem.  Any sugestions?

CarlFK

# mkerr.sh
set -xe

sfdisk --force /dev/hda<<EOF
# partition table of /dev/hda
unit: sectors

/dev/hda1 : start=       63, size= 14924322, Id=83, bootable
/dev/hda2 : start= 14924385, size=   706860, Id= 5
/dev/hda3 : start=        0, size=        0, Id= 0
/dev/hda4 : start=        0, size=        0, Id= 0
/dev/hda5 : start= 14924448, size=   706797, Id=82
EOF

sfdisk --force /dev/hdc<<EOF
# partition table of /dev/hdb
unit: sectors

/dev/hdb1 : start=       63, size= 38170377, Id=83, bootable
/dev/hdb2 : start= 38170440, size=  1686825, Id= 5
/dev/hdb3 : start=        0, size=        0, Id= 0
/dev/hdb4 : start=        0, size=        0, Id= 0
/dev/hdb5 : start= 38170503, size=  1686762, Id=82
EOF

mke2fs /dev/hda1
mke2fs /dev/hdc1




More information about the ubuntu-devel mailing list