Author Topic: can't boot from usb without a panic...  (Read 829 times)

Offline scrawler

  • New Friend
  • *
  • Posts: 2
can't boot from usb without a panic...
« on: March 12, 2012, 02:56:52 PM »
...I should mention that I used dd to put a raw qemu image on a usb stick.  everything looks like it goes ok but there is a panic when It can't find the root filesystem. in /boot/grub/menu.lst, the root device is listed by uuid. Same in /etc/fstab, with the same uuid.

Any ideas?

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: can't boot from usb without a panic...
« Reply #1 on: March 12, 2012, 03:29:32 PM »
...I should mention that I used dd to put a raw qemu image on a usb stick.  everything looks like it goes ok but there is a panic when It can't find the root filesystem. in /boot/grub/menu.lst, the root device is listed by uuid. Same in /etc/fstab, with the same uuid.

Any ideas?

at time of boot, the file /etc/fstab is not looked at all, because it is on the root filesystem ... which is not mounted ...
If it can find the root fs and this is identified from uuid, it means that either the boot scripts can't identify the boot device, or can't identify the root fs uuid.

May I ask why this unusual setup ?

AS

Offline scrawler

  • New Friend
  • *
  • Posts: 2
Re: can't boot from usb without a panic...
« Reply #2 on: March 12, 2012, 05:53:46 PM »

May I ask why this unusual setup ?

Sure. I found a recipe online --  "how to make your virtual linux real" or something (the tutorial has been taken down since I followed it), and I used it successfully with minimal fuss with arch linux.

I like it because I can make all updates and customization in the vm and then still have it if my usb stick dies.

I just thought I'd try it with pclinuxos.  I have a just less than 4 gig image all updated and ready to stick on a stick. Except it won't boot. :-)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: can't boot from usb without a panic...
« Reply #3 on: March 12, 2012, 06:04:38 PM »

May I ask why this unusual setup ?

Sure. I found a recipe online --  "how to make your virtual linux real" or something (the tutorial has been taken down since I followed it), and I used it successfully with minimal fuss with arch linux.

I like it because I can make all updates and customization in the vm and then still have it if my usb stick dies.

I just thought I'd try it with pclinuxos.  I have a just less than 4 gig image all updated and ready to stick on a stick. Except it won't boot. :-)

You can do the above in PCLinuxOS, but using different tools: use mylivecd to remaster your customized installation, will generate an ISO image. Later you can use the ISO image and burn it on CD/DVD, or transfer it's content to a USB stick using PCLinuxOS-LiveUSB-Creator.   ;)

BTW, welcome to PCLinuxOS forum!
AS