IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> To make a multiboot USB drive using syslinux as a bootloader, Having problems booting Bart
sotris99
post Aug 8 2008, 02:16 PM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 1-March 08
Member No.: 35,102



QUOTE (thibeact @ Jan 3 2006, 09:36 PM) *
Ok, I answered my own question.

To make a multiboot USB drive using syslinux as a bootloader:

1. Format your USB drive and install syslinux. Syslinux can be download from <a href="http://syslinux.zytor.com/" target="_blank"><a href="http://syslinux.zytor.com/" target="_blank">http://syslinux.zytor.com/</a></a></a> The syslinux.exe is in the /win32 folder
syslinux [usb drive letter]:

2. Create a file named syslinux.cfg on the root of usb drive
the syslinux.cfg contains all the boot options. see <a href="http://syslinux.zytor.com/faq.php" target="_blank"><a href="http://syslinux.zytor.com/faq.php" target="_blank">http://syslinux.zytor.com/faq.php</a></a></a> for how to use.

To add a dos floppy image add the following lines to syslinux.cfg:
CODE
label dos
    kernel memdisk
    append initrd=dos.ima

- then also copy the memdisk file from the syslinux download.

To add XP PE2USB as described in thread : <a href="http://www.911cd.net/forums//index.php?showtopic=10806" target="_blank"><a href="http://www.911cd.net/forums//index.php?showtopic=10806" target="_blank">http://www.911cd.net/forums//index.php?showtopic=10806</a></a></a>
- add the following lines to syslinux.cfg:
CODE
label XP
    kernel pe2usb.bss

- copy the file pe2usb.bin from <a href="http://www.nu2.nu/pebuilder/files/pe2usb101.zip" target="_blank"><a href="http://www.nu2.nu/pebuilder/files/pe2usb101.zip" target="_blank">http://www.nu2.nu/pebuilder/files/pe2usb101.zip</a></a></a>
- rename pe2usb.bin to pe2usb.bss * very important, this tells syslinux it is a Boot sector and to patch in the DOS superblock.
- then build bart pe2usb as normal on the usb drive. * PE2USB will overwrite the syslinux boot sector, so will need to run syslinux [usb drive letter]: again.
- If you recieve "Invalid System Disk" or similar error when booting you need to:
+ Copy the pe2usb.bin to the usbdrive bootsector using bart's mkbt utility: mkbt -x pe2usb.bin x:
+ Reinstall syslinux: syslinux [usb drive letter]:

To add boot XP directly from USB drive as described in thread http://www.911cd.net/forums//index.php?sho...amp;#entry97519</a></a>
- make a disk image using winimage and add only the three boot files ntdetect.com, boot.ini (last line doubelt), ntldr and start memdisk with this image.
-save image as xp.ima on root of usb drive
CODE
label XPPE
     kernel memdisk
     append xp.ima

- then build as described in thread.
* PE2USB will overwrite the syslinux boot sector, so will need to run syslinux [usb drive letter]: again.

*linux rescue / utility boot options can also be added in. From my one USB drive I can boot Dos, XPPE, Linux.


I did that but i get "remove disks or any other media" "press any key to restart" when i am pressing 7 to boot from bartpe
Go to the top of the page
 
+Quote Post
jaclaz
post Aug 9 2008, 03:09 AM
Post #2


Platinum Member
*****

Group: Moderator
Posts: 4,949
Joined: 25-July 04
From: Italy
Member No.: 6,779



QUOTE (sotris99 @ Aug 8 2008, 09:16 PM) *
I did that but i get "remove disks or any other media" "press any key to restart" when i am pressing 7 to boot from bartpe

We need a more detailed description of the "that" you did, in order to be able to help you.
Like:
size of the stick
how it was fdisked/formatted
your current syslnux configuration file
etc.

See also this thread:
http://www.911cd.net/forums//index.php?showtopic=18846
there may something that you omitted to do.

jaclaz

This post has been edited by jaclaz: Aug 9 2008, 03:10 AM


--------------------
- Fighting against bloatware since 2004, and proud of it. -
Go to the top of the page
 
+Quote Post
Ed_P
post Aug 9 2008, 10:23 AM
Post #3


Titanium Member
*******

Group: Admin
Posts: 5,130
Joined: 12-August 05
From: Western NY, USA
Member No.: 13,258



QUOTE (jaclaz @ Aug 9 2008, 04:09 AM) *
See also this thread:
http://www.911cd.net/forums//index.php?showtopic=18846
there may something that you omitted to do.

He did see it originally, I split his post off from it since it's developing into one of the mega threads. blush.gif


--------------------

A useful posting: Adding drivers to BartPE; NIC, SATA, video

A helpful thread: BartPE Troubleshooting FAQs

Use the forum's search tool to find postings about problems similar to yours.
For searches involving three letter acronyms such as USB add an * to the end. For example: USB*

The button is your friend and is located just below the one for Quote Reply.



Ed
Go to the top of the page
 
+Quote Post
jaclaz
post Aug 9 2008, 11:56 AM
Post #4


Platinum Member
*****

Group: Moderator
Posts: 4,949
Joined: 25-July 04
From: Italy
Member No.: 6,779



QUOTE (Ed_P @ Aug 9 2008, 05:23 PM) *
He did see it originally, I split his post off from it since it's developing into one of the mega threads. blush.gif

Really? w00t.gif

Posted on thread #18846 quoting a post from thread #10806? unsure.gif

jaclaz


--------------------
- Fighting against bloatware since 2004, and proud of it. -
Go to the top of the page
 
+Quote Post
Ed_P
post Aug 9 2008, 12:05 PM
Post #5


Titanium Member
*******

Group: Admin
Posts: 5,130
Joined: 12-August 05
From: Western NY, USA
Member No.: 13,258



Or not. oops.gif I thought you were referring to http://www.911cd.net/forums//index.php?showtopic=10806 innocent.gif


--------------------

A useful posting: Adding drivers to BartPE; NIC, SATA, video

A helpful thread: BartPE Troubleshooting FAQs

Use the forum's search tool to find postings about problems similar to yours.
For searches involving three letter acronyms such as USB add an * to the end. For example: USB*

The button is your friend and is located just below the one for Quote Reply.



Ed
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2nd September 2010 - 04:17 PM