Booting different partitions on a usb drive with syslinux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Booting different partitions on a usb drive with syslinux
# 1  
Old 03-19-2010
Booting different partitions on a usb drive with syslinux

Hello,

I have an 8gb usb flash drive that I had high aspirations of using for a recovery/install/messing around multipurpose drive.

fdisk shows:

Code:
$ sudo fdisk -l /dev/sdb
[sudo] password for woodnt: 

Disk /dev/sdb: 8036 MB, 8036285952 bytes
255 heads, 63 sectors/track, 977 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002815d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          65      522081    b  W95 FAT32
Partition 1 does not end on cylinder boundary.
/dev/sdb2              66         977     7325640    5  Extended
/dev/sdb5             913         977      522081   82  Linux swap / Solaris
/dev/sdb6   *          66         161      771057    b  W95 FAT32
/dev/sdb7             162         249      706828+   b  W95 FAT32

I have used unetbootin to install a Linux mint LXDE liveCD iso which works great on sdb6

On sdb7, I have a regular Linux mint 64 bit liveCD iso.

It will boot into the LXDE environment no problem.

What I'm wanting to do is figure out how to "daisy-chain" the syslinux boot menu to the linux mint 64bit livecd's isolinux.cfg menu.

I see in syslinux, there is a syntax that will allow you to use a different .cfg file as so:

Code:
LABEL othermenu
    MENU LABEL Another Menu
    KERNEL menu.c32
    APPEND othermenu.conf

However, it will be on a different partition. I can't find a way to reference partitions from within syslinux .cfg syntax.

Can anyone help? Do I need to abandon syslinux and try something else? If so what?

Yours,
Narnie

below is the current syslinux.cfg file with an example of what I'm trying to do at the end (which I know won't work), but I need it to go to the filesystem on another partition:

Code:
default vesamenu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/mint.seed boot=casper quiet splash --

label ubnentry0
menu label Start Linux Mint LXDE
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/mint.seed boot=casper  quiet splash --

label ubnentry1
menu label Start Linux Mint LXDE (compatibility mode)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/mint.seed boot=casper xforcevesa  ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll --

label ubnentry2
menu label Check the integrity of the CD
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --

label ubnentry3
menu label Memory Test
kernel /isolinux/memtest
append initrd=/ubninit 

label ubnentry4
menu label Boot from local drive
kernel /ubnkern
append initrd=/ubninit 

label ubnentry5
menu label Boot Linux Mint 64 bit
kernel /isolinux/vesamenu.c32
append isolinux/isolinux.cfg root=/dev/sdb7/


Last edited by Narnie; 03-19-2010 at 10:44 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Restore .dmg containing multiple partitions to bootable USB flash drive

I have a .dmg file which was created from a disk consisting of two partitions. When I mount the dmg both partitions pop up, so I know the imaging worked properly. One partition is HFS+ and the other is FAT32. So far, I've been unable to find a way to restore the dmg to a flash drive where both... (17 Replies)
Discussion started by: paulcristo
17 Replies

2. Solaris

Booting T5 from USB

I've copied over the sol-11_2-text-sparc.usb file to a USB thumb drive, plugged into a USB port on the front of the server, and then attempted to find the drive with ok show-disks to no avail. Is there a different way to copy the image over to the drive using a Windows workstation? Is there... (10 Replies)
Discussion started by: LittleLebowski
10 Replies

3. Filesystems, Disks and Memory

Different partitions of a drive behaving differently in Windows

I have a memory card of my Nokia N73 attached to laptop. There are a few partitions. Why all partitions behave differently? As clear from the attachments, for some partition, delete option is disabled. See 'Disk 1' which is my memory card. Here, patition 'G' (CHECK), i created in windows. The... (6 Replies)
Discussion started by: ravisingh
6 Replies

4. UNIX for Dummies Questions & Answers

Flash drive booting project questions

My current machine is a Macbook pro running Snow Leopard. I want to mess around with various *nix OSes but not in a way that threatens the current working condition of this machine. The way around this seems to be to install various operating systems on a largish flash drive, boot from that, and... (2 Replies)
Discussion started by: Zygomorph
2 Replies

5. UNIX for Dummies Questions & Answers

Installing UNIX and booting from External Hard Drive

Hello I have a new project being kicked off next month and i should learn UNIX fast. I have never used UNIX before so i have the following questions: 1) Is any UNIX free to install? 2) Can i install and boot UNIX from an External Hard Drive (The system board on my laptop crashed so i took the... (2 Replies)
Discussion started by: pipsonian
2 Replies

6. SCO

Booting problem due to adding hard drive incorrectly

I have tried to (unsuccessfully) add an old drive to get drivers (for the 3Com network card) onto a Sco Openserver 5.1 server. Now it wont boot: I used Sco Admin to do this. It have 3 scuzzi drives I added an IDE I think what I did wrong was add the IDE to existing space, and I should not have... (6 Replies)
Discussion started by: lappies67
6 Replies

7. Solaris

Solaris 10: Problems booting off mirror drive -- Error 22: No such partition

Solaris 10 5/08 on Ultra 40 M2 It boots fine off primary disk but having issues booting off the mirror disk. I get this error when booting off mirror disk: Booting 'Solaris 10 ... Mirror disk' root (hd1,0,a) Error 22: No such partition Press any key to continue... Any... (7 Replies)
Discussion started by: etc
7 Replies

8. Linux

grub error 22,after removing linux partitions only windows is threre.Pc not booting.i

hi, in my pc linux and windows was there with 2 hdd in raid.i removed linux partititons.Now my ps is not booting giving grub error 22.Nothing works.I hace my data in windows.Hard disks are RAID.when tried to go to recovery mode from windoes boot cd,it says hard disk not detected.when tried with... (2 Replies)
Discussion started by: pankajd
2 Replies

9. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

10. Linux

Booting Linux from an USB stick

I got Puppy linux and installed it on a usb stick. In the BIOS i selected to boot from USB-FDD but it goes to my HD and ignores the USB stick, What going on ?? (2 Replies)
Discussion started by: perleo
2 Replies
Login or Register to Ask a Question