freymann
May 10th, 2008, 08:14 PM
I've fallen into a trap and I could use some help.
I upgraded from mythbuntu 7.10 to 8.04
My machine had one 250GB Sata drive and a 500GB IDE data drive.
When booting into 8.04 I was taken to an emergency shell. I just CTRL-D'd out and let it finish booting.
With 7.10 I had:
/dev/sda1 = / (root, with operating system)
/dev/sda5 = swap
/dev/hda1 = /nas (data files)
With 8.04 I now have:
/dev/sdb1 = / (root, with operating system)
/dev/sdb5 = swap
/dev/sda1 = /nas (data files)
however, it chokes on /dev/sda1 and won't mount it or let me do much with it. This is not good, since it contains loads of data I need to have shared on my network!
Anytime I boot the computer, I get the emergency shell and I just CTRL-D and it boots up and my data drive is not mounted.
Relevent info:
fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x35cb95f4
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 83 Linux
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc9fdc9fd
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 29645 238123431 83 Linux
/dev/sdb2 29646 30401 6072570 5 Extended
/dev/sdb5 29646 30401 6072538+ 82 Linux swap / Solaris
/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# old /dev/sda1
UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 / ext3 defaults,errors=remount-ro 0 1
# old /dev/sda5
UUID=46803948-d05a-4ade-82f3-58756230bf67 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
# media drive 500GB
/dev/sda1 /nas ext3 defaults 0 1
This fails to mount /dev/sda1 as /nas
/boot/grub/menu.list
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 8.04, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
and /boot/grub/device.map
(hd0) /dev/sda
I'm thinking this should be changed to /dev/sdb ?
From /var/log/fsck
Log of fsck -C3 -R -A -a
Sat May 10 14:26:23 2008
fsck 1.40.8 (13-Mar-2008)
fsck.ext3: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck died with exit status 8
Sat May 10 14:26:23 2008
and if I try 'sudo e2label /dev/sda1'
e2label: No such file or directory while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
I'm kinda lost and confused! I have two more machines to update that don't have mixed drive types (only IDE) so hopefully this won't be an issue on those boxes too!
Any suggestions?
I upgraded from mythbuntu 7.10 to 8.04
My machine had one 250GB Sata drive and a 500GB IDE data drive.
When booting into 8.04 I was taken to an emergency shell. I just CTRL-D'd out and let it finish booting.
With 7.10 I had:
/dev/sda1 = / (root, with operating system)
/dev/sda5 = swap
/dev/hda1 = /nas (data files)
With 8.04 I now have:
/dev/sdb1 = / (root, with operating system)
/dev/sdb5 = swap
/dev/sda1 = /nas (data files)
however, it chokes on /dev/sda1 and won't mount it or let me do much with it. This is not good, since it contains loads of data I need to have shared on my network!
Anytime I boot the computer, I get the emergency shell and I just CTRL-D and it boots up and my data drive is not mounted.
Relevent info:
fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x35cb95f4
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 83 Linux
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc9fdc9fd
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 29645 238123431 83 Linux
/dev/sdb2 29646 30401 6072570 5 Extended
/dev/sdb5 29646 30401 6072538+ 82 Linux swap / Solaris
/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# old /dev/sda1
UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 / ext3 defaults,errors=remount-ro 0 1
# old /dev/sda5
UUID=46803948-d05a-4ade-82f3-58756230bf67 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
# media drive 500GB
/dev/sda1 /nas ext3 defaults 0 1
This fails to mount /dev/sda1 as /nas
/boot/grub/menu.list
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 8.04, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0e5bbbb2-f483-4613-8de4-34155f26dbc2 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
and /boot/grub/device.map
(hd0) /dev/sda
I'm thinking this should be changed to /dev/sdb ?
From /var/log/fsck
Log of fsck -C3 -R -A -a
Sat May 10 14:26:23 2008
fsck 1.40.8 (13-Mar-2008)
fsck.ext3: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck died with exit status 8
Sat May 10 14:26:23 2008
and if I try 'sudo e2label /dev/sda1'
e2label: No such file or directory while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
I'm kinda lost and confused! I have two more machines to update that don't have mixed drive types (only IDE) so hopefully this won't be an issue on those boxes too!
Any suggestions?