Root not found, kernel panic when boot from usb drive
by intmail01 from LinuxQuestions.org on (#6NEMW)
Hi,
I want to use external usb hard drive to work on it. I will not use it as rescue disk or backup but a portable and bootable disk on which I can use every day for work.
I try at first install on the USB a small partition with grub2 structures and kernels (the 'huge' one) without root nor swap. The root partition is elsewhere on an internal HDD.
Grub2 can see the kernel and this latter start and root whithout problems.
Then, I add 2 other partitions on the USB : swap and root.
The problem is the kernel because it shows "not syncing: VFS: unable to mount root fs on unknown block(0,0)"
The kernel can not see the root partition on usb.
In grub.cfg I try many configurations:
root=/dev/sda3 , root=/dev/sdb3 , root=uuid=.. , root=partuuid=.. ,
On the fstab I set "uuid=blabla / defaults 1 1"
I try my own kernel. It is built to fit my machine and almost driver are built in not as modules but no change.
Why kernel can not see partition on usb ? Do I forget to pass important kernel parameters ? or there are misisng drivers ?
My os is slackware 15. My partitions is standard not GPT.
Thanks
I want to use external usb hard drive to work on it. I will not use it as rescue disk or backup but a portable and bootable disk on which I can use every day for work.
I try at first install on the USB a small partition with grub2 structures and kernels (the 'huge' one) without root nor swap. The root partition is elsewhere on an internal HDD.
Grub2 can see the kernel and this latter start and root whithout problems.
Then, I add 2 other partitions on the USB : swap and root.
The problem is the kernel because it shows "not syncing: VFS: unable to mount root fs on unknown block(0,0)"
The kernel can not see the root partition on usb.
In grub.cfg I try many configurations:
root=/dev/sda3 , root=/dev/sdb3 , root=uuid=.. , root=partuuid=.. ,
On the fstab I set "uuid=blabla / defaults 1 1"
I try my own kernel. It is built to fit my machine and almost driver are built in not as modules but no change.
Why kernel can not see partition on usb ? Do I forget to pass important kernel parameters ? or there are misisng drivers ?
My os is slackware 15. My partitions is standard not GPT.
Thanks