Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 10:04
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to multiboot (with menu) from a usb stick on a netbook
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Fri 30 Apr 2010, 13:12    Post subject:  How to multiboot (with menu) from a usb stick on a netbook  

This has been covered before, by Mark Ulrich and others, but incompletely.

The way to boot from a usb stick on a netbook is:

1. Partition the stick either ext3 or fat32 (I prefer ext3), using gparted.
2. Gparted --> rightclick the partition --> Manage Boot Flags --> check boot
3. Mount the stick and Issue
Code:
extlinux /mnt/sdb1 ## or wherever the stick is
This will write extlinux.sys to the stick's mbr.
4. Install your Puppy but do not modify the bootloader.
5. If vesamenu.c32 and/or menu.c32 exist in the same subdir as the extlinux executable, then you can make extlinux give you a boot menu and you can multiboot, both from the stick and the ssd. They are not supplied with Puppy, to get them you must compile syslinux. In order to compile syslinux 3.80, you need binutils 2.20.1 or newer, not sure about syslinux versions between 3.63 and 3.80. Note that 3.63 and 3.80 place the executables in different subdirectories of /usr, so it is possible to experiment with both.

Copy either vesamenu.c32 or menu.c32 to / on the stick and then create extlinux.conf on the stick as shown below:

Code:
default menu.c32
prompt 0
timeout 300

label p431
menu label ^Puppy 4.31 from stick, frugal
kernel /puppy431/vmlinuz
append pmedia=usbflash vga=normal psubdir=puppy431 initrd=/puppy431/initrd.gz

label windows
menu label ^Windows CE/ME/NT
kernel chain.c32
append hd0 2

label u910
menu label ^Ubuntu 9.10 on the ssd
kernel /boot/vmlinuz
append root=/dev/sda1 vga=normal ro initrd=/boot/initrd.gz


menu.c32, vesamenu.c32, and chain.c32 must be from the same version of syslinux as extlinux is from, i.e. you can't use menu.c32 from syslinux 3.63 and extlinux from syslinux 3.80.

timeout is in tenths of a second. By pressing the letter after the carat (^) you can choose that menu entry, so make the menu labels all start with different letters. Default boot is to the first entry in the listing.

HTH, SHS
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0425s ][ Queries: 11 (0.0060s) ][ GZIP on ]