LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-24-2008, 10:31 AM   #1
rbrady
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
Is there a way to boot from a live cd but then run from usb hd - can't boot usb


Does anyone know how you can boot from live cd then continue running linux from a usb HD? My notebook can't boot usb but Freespire Live cd is a good fit since my internal HD died.
 
Old 03-24-2008, 03:58 PM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
You could install some sort of boot loader on a cd, then use that to boot off of your usb hard drive. Or you could update your bios so you can boot the usb drive. Here is a link for you...

http://syslinux.zytor.com/iso.php

David
 
Old 03-25-2008, 12:53 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,401
Blog Entries: 3

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
Hi,
Quote:
Originally Posted by rbrady View Post
Does anyone know how you can boot from live cd then continue running linux from a usb HD? My notebook can't boot usb but Freespire Live cd is a good fit since my internal HD died.
You could use the 'sbootmgr'. I know it is for Slackware but no reason that you couldn't use it to boot from another device for other distro(s). It is a floppy based boot. But you could create a iso as budword suggested.
 
Old 03-25-2008, 10:38 AM   #4
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
chroot

You might want to try to chroot into the system on your USB drive. As long as you remain in your chroot environment, it will use your USB-based system.

Use 'su username' unless you want to do everything as root and read chroot documentation to get confortable with it.

Regards,
SIMP

Fedora Development

Last edited by simplicissimus; 04-02-2008 at 05:59 AM.
 
Old 03-26-2008, 12:35 AM   #5
rbrady
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Budword, Onebuck, and Simplicissimus.

All sound like good options. Now to find out which is easiest to try first.
 
Old 03-26-2008, 04:32 AM   #6
mechdave
Member
 
Registered: Apr 2007
Location: Adelaide, Australia
Distribution: Ubuntu 8.10 and 7.10 server
Posts: 95

Rep: Reputation: 15
I built up a grub boot disk to do this exact thing once. Try man grub (or searching google for grub manual) for details.
 
Old 03-27-2008, 01:36 AM   #7
rbrady
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Mechdave
 
Old 03-27-2008, 01:51 AM   #8
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
edit ...wrong post to reply

Last edited by aus9; 03-27-2008 at 01:54 AM. Reason: wrong post
 
Old 03-27-2008, 01:57 AM   #9
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 173

Rep: Reputation: 38
I see that you're using Freespire and I don't know if it will fit your criteria, but this type of thing is built into Puppy Linux. It might be worth checking out because if you can run your system from the CD, then you save some space on the USB stick.
 
Old 03-27-2008, 09:14 AM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
onebuck

your link is beautiful.

I just tested a floppy image under virtualbox and a real floppy under virtual box and both are good at getting to a cd.

of course I used a diff command to the text file on that link..BTW that cat way thinks the image is called install.1....so its

Code:
dd if=/pathto/sbootmgr.dsk of=/dev/fd0
for linux users.

EDIT
I had to change file.dsk to file.img to get floppy image to work in vbox

Last edited by aus9; 03-27-2008 at 05:18 PM.
 
Old 03-27-2008, 10:53 AM   #11
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I think he wanted to get to a usb drive, and that he COULD already get to a cd, but maybe I read it wrong.

David
 
Old 03-28-2008, 12:51 AM   #12
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 173

Rep: Reputation: 38
I read the OP as he wanted to boot from a CD and then run his system from a USB stick. That's fine and all, but not optimal. From the latest post it looks like it's doing whatever he was trying to, though.
 
Old 03-28-2008, 01:49 AM   #13
rbrady
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hendronicus View Post
I read the OP as he wanted to boot from a CD and then run his system from a USB stick. That's fine and all, but not optimal. From the latest post it looks like it's doing whatever he was trying to, though.
That's what I wanted to do as a temporary solution, but with a 160G usb portable hard drive I already have.
 
Old 03-28-2008, 01:51 AM   #14
rbrady
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hendronicus View Post
I see that you're using Freespire and I don't know if it will fit your criteria, but this type of thing is built into Puppy Linux. It might be worth checking out because if you can run your system from the CD, then you save some space on the USB stick.
I'm looking into Puppy Linux.
 
Old 03-28-2008, 04:36 AM   #15
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
what was not clear to me was ....is there a bios option to boot a cd in the bios boot order in lieu of using a floppy.

2) leaping ahead...if cd is already a viable bios boot order option....the OP just needs to remaster a live cd....to either have the usb drive in /etc/fstab or as SIMP suggests a chroot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB boot without live CD image crimsonflame123 Fedora 2 03-15-2008 07:13 AM
qemu boot of live USB image hands loading initrd.img poblano Linux - Software 1 03-09-2008 10:45 AM
Boot from USB external drive, from laptop without USB boot support. darirod Linux - Newbie 2 12-19-2006 11:00 AM
Boot an run linux on USB flash drive possible? zahoo Linux - General 1 03-20-2005 04:12 PM
boot from USB HDD, no MOBO usb boot support magiconexxx Linux - Hardware 0 11-03-2004 01:38 AM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration