Compiling kernel: Kernel panic...

Worik worik at noggon.com
Wed Dec 1 19:28:06 UTC 2004


>>
>>Cannot open root device "hda1" or unknown-block(3,1)
> 
> 
> Strange, 'hda1' ??? Really?
> 
> Well, before checking your other questions: what happens if you manually
> set your root device? Just append a 'root=/dev/hdaN' to your kernel boot
> parameters (either in your menu.lst by adding the string to the kernel
> option 'kernel (hd0,0)/vmlinux-blabla root=/dev/hdaN' or from the 
> grub shell during bootup).

I have done that.  It was the default for grub, so I was doing it from 
the start.
[snip]

>>title		Ubuntu, kernel 2.6.9_20041130
>>root		(hd0,0)
>>kernel		/boot/vmlinuz-2.6.9_20041130 root=/dev/hda1 ro
>>savedefault
>>boot
>>
>>title		Ubuntu, kernel 2.6.9_20041130 (recovery mode)
>>root		(hd0,0)
>>kernel		/boot/vmlinuz-2.6.9_20041130 root=/dev/hda1 ro single
>>savedefault
>>boot
>>
>>title		Ubuntu, kernel 2.6.8.1-2-386
>>root		(hd0,0)
>>kernel		/boot/vmlinuz-2.6.8.1-2-386 root=/dev/hda1 ro
>>initrd		/boot/initrd.img-2.6.8.1-2-386
>>savedefault
>>boot
>>
>>title		Ubuntu, kernel 2.6.8.1-2-386 (recovery mode)
>>root		(hd0,0)
>>kernel		/boot/vmlinuz-2.6.8.1-2-386 root=/dev/hda1 ro single
>>initrd		/boot/initrd.img-2.6.8.1-2-386
>>savedefault
>>boot
>>

cheers
Worik




More information about the ubuntu-users mailing list