Porteus load base modules from a hard disk which is not boot disk.
Before it happened, I copied porteus folder from USB stick to local hard disk.
I did not copy boot folder.
The hard disk has those folders and files.
/porteus/base/000-core.xzm
/porteus/base/001-kernel.xzm
/porteus/base/...
When I tried to boot from the USB stick, Porteus load module from the hard drive not the USB stick.
I want Porteus to load base modules from USB stick.
But it always load from the hard disk.
There are two hard disk.
The hard disk is /dev/sdb
The USB stick is /dev/sdc
Are there any solution for that ?
p.s.
I use Porteus v1.1 32bit version.
[Solved]load base modules from other device
[Solved]load base modules from other device
Last edited by kata930 on 25 Apr 2012, 08:36, edited 1 time in total.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: load base modules from other device
hello kata930,
you could use from_dev=UUID: or from_dev=LABEL: cheatcodes to make sure that portues is booting from usb stick.
please run 'blkid' command as root, here is my output:
in case of booting from sda4 the cheatcode syntax would be:
more info about cheatcodes can be found in /boot/docs/cheatcodes.txt
you could use from_dev=UUID: or from_dev=LABEL: cheatcodes to make sure that portues is booting from usb stick.
please run 'blkid' command as root, here is my output:
Code: Select all
/dev/sda1: UUID="ac8d44b2-3518-4bab-b56c-d98d98816f1d" TYPE="ext3"
/dev/sda2: UUID="7fc034fb-8cf0-4930-9b01-85bf2ac8223d" TYPE="swap"
/dev/sda3: UUID="6559f0c1-8648-4008-bb52-b4abdfec029f" TYPE="ext3"
/dev/sda4: UUID="120a9458-07c9-4e50-a9ec-894ad115e101" TYPE="ext4"
Code: Select all
from_dev=UUID:120a9458-07c9-4e50-a9ec-894ad115e101
Please add [Solved] to your thread title if the solution was found.
Re: load base modules from other device
hello fanthom,
Thank you for quick reply.
It was good solution for me.
My boot USB stick is VFAT. so UUID is volume serial .
I added from_dev=UUID:XXXX-XXXX
The USB stick can boot successfully.
Thank you for quick reply.
It was good solution for me.
My boot USB stick is VFAT. so UUID is volume serial .
I added from_dev=UUID:XXXX-XXXX
The USB stick can boot successfully.
