NETwork Security Consortium

PENTOO
Documentation
Download
Modules
Tools List
Videos
RESOURCES
Links
Misc
White Papers
CONTACTS
FORUM



 

 

Store config on USB Stick
Wednesday 25 January 2006 by Grimmlin , Sleepless

Normally, all you have to do is put the stick in, boot the livecd and normally it would kindly ask you if you want to save some stuff on it.
You’ll have to verify that it doesn’t try to write elsewhere than the stick by looking at the partition filesystem and size displayed in the dialog window.
PNGPNG

If the information is wrong, you’ll have to determinate where your stick is in /dev/
First, do :

# cat /proc/partitions

Usb pen drive should be linked in /dev/sdX and usually have only one, vfat partition.

To determine the filesystem, you can do ie :

# disktype /dev/sdb

If you don’t see it, the last resort is as follow :
Unplug the stick.
Plug it.
Read the console output or type dmesg, you should see the partition like this :

Vendor: SanDisk Model: Cuzer Micro Rev: 0.2
Type: Direct-Access ANSI revision: 02
SCSI device sdb: 1000944 512-byte ...
...

So in this case the device in in /dev/sdb. With this information, you can reboot and specify at the boot command-line like this :

1 stick=/dev/sdb1

When you’ve chosen what to save on the usb stick, you should see the following when rebooting :

Loading the pentoo config {PNG}