LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2008, 12:02 AM   #1
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Question How to install and boot any distro from USB flash?


I need help setting up the bootloader(or perhaps the rest of the installation) to boot a normal desktop (non-live) distribution from USB flash drive.
I have already installed the system, and set up LILO, but neither boot sector of partition nor MBR seem to satisfy BIOS. I get "Operating System not found". The boot partition is set active.
My machines are configured and boot from USB just fine, but only the "live" setups. This time I am installing the system where USB flash is the hard drive.
Please explain me how to boot desktop distros from USB flash!!!
Thanks in advance!
[EDIT]
Just in case, LILO was written to the correct drive, sda. No other USB drives present.

Last edited by r00tb33r; 12-31-2008 at 12:07 AM.
 
Old 12-31-2008, 01:36 AM   #2
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Some PCs have a problem with booting USB drives that do not have an active FAT 16 partition. You should create such a partition - a small one , the smallest permitted one, will do, make this partition active and install the boot loader here. The OS can be installed in another partition.
 
Old 12-31-2008, 02:26 AM   #3
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by htnakirs View Post
Some PCs have a problem with booting USB drives that do not have an active FAT 16 partition. You should create such a partition - a small one , the smallest permitted one, will do, make this partition active and install the boot loader here. The OS can be installed in another partition.
I tried that and I got
Code:
L 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99
I tried again thinking there is corruption, but it still does it. The FAT 16 partition is sda1 and set active. LILO installed on sda1, no MBR present.
What am I doing wrong?
 
Old 01-01-2009, 12:10 AM   #4
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Did you visit pendrivelinux.com?
 
Old 01-01-2009, 02:53 PM   #5
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by htnakirs View Post
Did you visit pendrivelinux.com?
Everything they have there is live. I need a rw filesystem.

We were in the right direction earlier, as FAT 16 partition produced a common LILO error, meaning that BIOS found the boot record. It would probably be better to figure out how to make LILO work on USB, as this would apply to all distros.
I read that the "L 99 99 99 99 99 99 " type error points to a corrupt MBR... So I wonder if there is any way to fix MBR from Linux. I don't have a Windows installation on that drive, so I won't have access to Windows recovery console via the install CD, even if I had one that is.

Last edited by r00tb33r; 01-01-2009 at 02:59 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Frugal install of GRUB based distro on a USB flash drive from Windows/DOS ? kumarkumar Linux - Newbie 3 06-02-2008 04:26 PM
How to INSTALL not BOOT Slackware 11.0 from USB flash? Daysie Linux - Hardware 2 01-11-2007 04:26 PM
Boot USB Flash drive with ZipSlack Install kendall14 Slackware 6 01-02-2007 12:10 AM
USB Flash Feather install cannot boot on Dell PC BayGuy27 Feather 2 05-22-2006 06:55 PM
What distro to use for 1gig Flash USB? Javahulk Linux - Software 6 03-07-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration