Messages in this thread | | | From | Markus Biermaier <> | Subject | Re: Can't Mount CF-Card on boot of 2.6.15 Kernel on EPIA - VFS: Cannot open root device | Date | Tue, 13 Jun 2006 23:33:26 +0200 |
| |
Am 13.06.2006 um 23:22 schrieb Randy.Dunlap:
> On Tue, 13 Jun 2006 23:10:04 +0200 Markus Biermaier wrote: >>> So the result before the boot-panic is: >>> >>> ... >>> here are the partitions available: >>> 2100 500472 hde driver: ide-disk >>> 2101 500440 hde1 >>> ...
[snip]
>> But can anyone tell me how "root=/dev/hde1" translates to >> "root=2101"??? > > That's (hex) 0x2101. In Documentation /devices.txt, we see: > > 33 block Third IDE hard disk/CD-ROM interface > 0 = /dev/hde Master: whole disk (or CD-ROM) > 64 = /dev/hdf Slave: whole disk (or CD-ROM) > > Partitions are handled the same way as for the first > interface (see major number 3) > > So device 33 (hex 21) is /dev/hde and 0x01 is partition 1 == hde1.
Aaargh: Its HEX and I tried always in my "linuxrc": ------------------------- [ BEGIN linuxrc ] ------------------------- ... # brw-rw---- 1 root disk 33, 1 Jan 19 2001 /dev/hde1 echo 0x3301 > /proc/sys/kernel/real-root-dev ... ------------------------- [ END linuxrc ] ------------------------- So it would have probably worked if I would have written "echo 0x2101 ..."
Thank you, Randy.
Markus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |