after 7.10-8.04 upgrade, ubuntu won't boot (udev problem?)

Asked by htedrom

hi all,

upgraded from 7.10-8.04 and after the install, ubuntu wouldn't boot. tried a fresh install instead, same problem. boot hangs after some messages (don't seem to be error messages) about scsi devices... and here's the kicker:

from the live CD i can't mount any of my old hdx partitions. they show up in cfdisk as sdx, but /dev/ has only "sda" and no hdx partitions. i know that hardy switched from the hdx system to the sdx system, but now none of my partitions are mountable!

ubuntu@ubuntu:/$ sudo mount -t auto /dev/sda2 /mount
mount: special device /dev/sda2 does not exist

hardy heron is somehow not seeing my old partitions.. despite cfdisk seeing them. someone on freenode said this was a udev problem, but i'm too nub to know anything about that. if i can get my old partitions mounted from the livecd, i can find dmesg and paste the exact messages i'm getting at boot.

thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
htedrom
Solved:
Last query:
Last reply:
Revision history for this message
htedrom (mordethmai) said :
#1

just thought i'd enunciate the mounting problem a little clearer

here's a partial output of "sudo fdisk -l" on the livecd

/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 6375 7201 6642877+ 83 Linux
/dev/sda3 7202 7266 522112+ 82 Linux swap / Solaris
/dev/sda4 7267 38913 254204527+ 83 Linux

but then check this out:

ubuntu@ubuntu:/$ ls /dev/ | grep sda
sda
ubuntu@ubuntu:/$

no sda1-4!!! what's going on? interestingly, i have both /dev/sdb and /dev/sdb1

Revision history for this message
htedrom (mordethmai) said :
#2

not sure if this is relevant, but in case it is:

here's the output of lshw, run on the livecd, for the appropriate drive (formerly hda):

pata_amd
        *-disk:0
             description: ATA Disk
             product: WDC WD3200BB-22K
             vendor: Western Digital
             physical id: 0
             bus info: scsi@2:0.0.0
             logical name: /dev/sda
             version: 08.0
             serial: WD-WCAMR2772981
             size: 298GiB (320GB)
             capabilities: partitioned partitioned:dos
             configuration: ansiversion=5 signature=14cb14cb
           *-volume:0 UNCLAIMED
                description: Windows NTFS volume
                physical id: 1
                bus info: scsi@2:0.0.0,1
                version: 3.1
                serial: 8272ede2-b000-194a-8cc4-7925fe6ae4d6
                size: 48GiB
                capacity: 48GiB
                capabilities: primary bootable ntfs initialized
                configuration: clustersize=4096 created=2007-01-21 08:40:14 filesystem=ntfs state=clean
           *-volume:1 UNCLAIMED
                description: EXT3 volume
                vendor: Linux
                physical id: 2
                bus info: scsi@2:0.0.0,2
                version: 1.0
                serial: ac14bf81-f2da-46f0-808b-5944c65394ee
                size: 6487MiB
                capacity: 6487MiB
                capabilities: primary journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                configuration: created=2008-09-03 01:02:26 filesystem=ext3 modified=2008-10-19 00:22:30 mounted=2008-10-19 00:22:30 state=clean
           *-volume:2 UNCLAIMED
                description: Linux swap volume
                physical id: 3
                bus info: scsi@2:0.0.0,3
                version: 1
                serial: 1ce63208-839b-4c20-b8b7-2ebf34ccec3d
                size: 509MiB
                capacity: 509MiB
                capabilities: primary nofs swap initialized
                configuration: filesystem=swap pagesize=4096
           *-volume:3 UNCLAIMED
                description: EXT3 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@2:0.0.0,4
                version: 1.0
                serial: 01358e04-24c2-450f-98ba-848463e2085b
                size: 242GiB
                capacity: 242GiB
                capabilities: primary journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                configuration: filesystem=ext3 modified=2008-10-19 00:22:31 mounted=2008-10-19 00:22:31 state=clean

Revision history for this message
htedrom (mordethmai) said :
#3

ok another update:

I tried a bunch of commands, including this:
blockdev --rereadpt /dev/sda

and it works! i can mount all the sda's... however, i still can't boot ubuntu.

i mounted the / partition from the livecd after i got the sda's to show up, and none of the log files had been modified since before I installed hardy... ie despite my attempts to boot into hardy, nothing was getting logged

seems like it's the same sda problem for when I try booting

Revision history for this message
htedrom (mordethmai) said :
#4

ok so new question, where do I go from here? how do I get heron to recognize my sda at boot time?

Revision history for this message
htedrom (mordethmai) said :
#5

here's the dmesg from the livecd. when i try booting hardy, it halts at around line 580. you can see some errors from line 400 onward, but I don't know what they're saying

http://pastebin.com/m57f8680b

Revision history for this message
htedrom (mordethmai) said :
#6

this was the problem:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/222547

i don't understand, and don't care, i'm just happy.