[Solved]load base modules from other device

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
kata930
White ninja
White ninja
Posts: 15
Joined: 31 Mar 2011, 05:32
Location: Japan

[Solved]load base modules from other device

Post#1 by kata930 » 24 Apr 2012, 09:10

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.
Last edited by kata930 on 25 Apr 2012, 08:36, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4626
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: load base modules from other device

Post#2 by fanthom » 24 Apr 2012, 11:55

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:

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"
in case of booting from sda4 the cheatcode syntax would be:

Code: Select all

from_dev=UUID:120a9458-07c9-4e50-a9ec-894ad115e101
more info about cheatcodes can be found in /boot/docs/cheatcodes.txt
Please add [Solved] to your thread title if the solution was found.

User avatar
kata930
White ninja
White ninja
Posts: 15
Joined: 31 Mar 2011, 05:32
Location: Japan

Re: load base modules from other device

Post#3 by kata930 » 25 Apr 2012, 08:32

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. :Yahoo!:

Post Reply