Mounting a partition as root filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to mount /dev/hda0 (the first partition on /dev/hda) as my
ext3 root filesystem during boot. Even though I can mount this
partition after boot and successfully see the files on it, (using
"mount -text3 /dev/hda1 /mnt/disk1" and hda1 with major 3, minor 1)
the same partition cannot be mounted as the root filesystem during
boot. I get the error:

VFS: Cannot open root device "0x301" or unknown-block(3,1)
VFS: Cannot open root device "0x301" or unknown-block(3,1)
Please append a correct "root=" boot option
Please append a correct "root=" boot option
<0>Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,1)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

In kernel bootargs, I tried root=/dev/hda0, /dev/hda1 and also
root=0x301 (major 3, minor 1) to mount it. It should have just worked.
Any idea why it doesn't?


Thanks,
Bahadir

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux