LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-10-2009, 02:13 PM   #1
mscorsese
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 0
Live CD


Is it possible to boot any distro of linux on a live cd and then pass it on to ubuntu 9.04 on a USB-HDD? The problem i have is i don't have a hard drive and my laptop doesn't support usb-hdd booting. I've tried many options such as the usb boot cd however i get a ext3-fs mounted filesystem error. I tried a boot manager such as plop but it kept getting stuck at loading boot sector. I've checked the usb-hdd and it boots fine in a new laptop without any support. Any ideas how i can get it to boot?
 
Old 09-10-2009, 02:26 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,592

Rep: Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559
Quote:
Originally Posted by mscorsese View Post
Is it possible to boot any distro of linux on a live cd and then pass it on to ubuntu 9.04 on a USB-HDD? The problem i have is i don't have a hard drive and my laptop doesn't support usb-hdd booting. I've tried many options such as the usb boot cd however i get a ext3-fs mounted filesystem error. I tried a boot manager such as plop but it kept getting stuck at loading boot sector. I've checked the usb-hdd and it boots fine in a new laptop without any support. Any ideas how i can get it to boot?
The answer in your other thread with a VERY similar question is accurate.

Yes, you can boot a live CD/DVD, and do an installation to a USB device. But if your laptop doesn't support USB booting, it doesn't matter WHAT OS you put on the USB device...it won't boot. That's a limitation in your BIOS that the operating system has no control over.
 
Old 09-10-2009, 02:54 PM   #3
mscorsese
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
I understand that regardless of the os on the USB-HDD it won't boot, however after reading around for a bit i came across various solutions to this problem. Unfortunately so far i haven't managed to succesfully implememt them. For example http://www.pendrivelinux.com/usb-boo...or-ubuntu-810/ . Apparently this is supposed to create a medium in which software on the CD boots (as my old laptop does boot from cd) and then accesses the files on the USB-HDD and only then boots the os from the hard drive. I tried this and get the error i mentioned above. Also as i mentioned, i used a boot manager called plop that promises to boot from usb without bios support with many people reporting success but for me it freezes after accessing the USB-HDD. I am not looking for a direct boot method, my previous post did recieve an accurate answer. I am simply wondering whether the usb boot cd is a hoax?
 
Old 09-10-2009, 03:14 PM   #4
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Actually I've used that boot disk...

Umm, your using grub to boot the usb-hdd?
or syslinux?

if using grub what do you have the menu.lst setup to boot?
like (hd0,1) or what?
 
Old 09-10-2009, 03:21 PM   #5
mscorsese
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
To be honest i don't know much, if anything about linux. Whatever i did was in the instructions in the website. Also i installed ubuntu 9.04 to the entire usb-hdd (one partition) with the boot loader which i assume is grub because i haven't heard of syslinux .

sorry actually i used this one http://www.pendrivelinux.com/usb-boo...or-ubuntu-904/
 
Old 09-10-2009, 03:26 PM   #6
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
OK
what format is the usb-hdd?

is it fat32 or ext3?

can you post the menu.lst thats on the usb-hdd?
copy/paste it into the post...you know

so, plaese do that and also, you installed ubuntu from the livecd?
and no errors during install right?
 
Old 09-10-2009, 03:32 PM   #7
mscorsese
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Lol okay i can do two of the three things...how do i get the menu.lst on my usb-hdd. There were no errors whilst installing. Tried the USB-HDD on my new laptop (that supports usb booting) and it works perfectly. It is formatted to ext3.
 
Old 09-10-2009, 03:34 PM   #8
linuxpokernut
Member
 
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Blog Entries: 8

Rep: Reputation: 59
Quote:
Originally Posted by mscorsese View Post
I understand that regardless of the os on the USB-HDD it won't boot, however after reading around for a bit i came across various solutions to this problem. Unfortunately so far i haven't managed to succesfully implememt them. For example http://www.pendrivelinux.com/usb-boo...or-ubuntu-810/ . Apparently this is supposed to create a medium in which software on the CD boots (as my old laptop does boot from cd) and then accesses the files on the USB-HDD and only then boots the os from the hard drive. I tried this and get the error i mentioned above. Also as i mentioned, i used a boot manager called plop that promises to boot from usb without bios support with many people reporting success but for me it freezes after accessing the USB-HDD. I am not looking for a direct boot method, my previous post did recieve an accurate answer. I am simply wondering whether the usb boot cd is a hoax?
You can do what you want without the USB bottloader, I know for a fact. The problem is I only know how to do it on my distro. In slackware you simply boot the install cd and type
hugesmp.s root=/dev/sdax rdinit= ro

OK, here is what i found:
Quote:
This will make a boot cd which is similar to a boot floppy. It bypasses grub, but still uses your partitions. Really only useful if you mess up grub, or copy your installation to a new hard drive and need to reinstall grub. It's not a full O/S on CD. Just the kernel. It's always nice to have in case something gets messed up.

( 1 ) Install syslinux (package).

( 2 ) make a directory called bootcd

( 3 ) copy /usr/lib/syslinux/isolinux.bin to bootcd

( 4 ) copy desired kernel image from /boot to bootcd/linux. Example:
cp /boot/vmlinuz-2.6.10-4-386 bootcd/linux

( 5 ) copy desired initrd.img from /boot to bootcd/initrd.img. Example:
cp /boot/initrd.img-2.6.10-4-386 bootcd/initrd.img

( 6 ) edit bootcd/isolinux.cfg and place the following line
DEFAULT linux initrd=initrd.img ro root=<your-root-dev>
Where, <your-root-dev> will be something like /dev/hda1. If you don't know your root device, look at your current grub config in /boot/grub/menu.lst.

( 7 ) make your iso image via (you should be one directory below bootcd).
mkisofs -o bootcd.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -hide-rr-moved -R bootcd/

( 8 ) burn the image to CD.

( 9 ) Test it.

Hopefully this will work for you and be helpful to someone. It worked for me in hoary.

You can burn the iso to CD by finding the iso in the directory viewer (nautilus). When you find your ISO, right click and hi-lite "Write To Disk". Follow instructions.

Obviously you need a cd-burner.

This is fairly easy, but figured it may help someone out at some point.
Source
 
Old 09-10-2009, 03:40 PM   #9
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
OK
boot up the livecd
on the computer that wont boot
have the usb-hdd plugged in...

Now, once you get to desktop

open a terminal from the Ubuntu Applications menu on the top toolbar^

then type in "sudo nautilus"
without qoutes, to open file manager as root/admin

when nautilus opens, there wuill be a sidepanel on the left displaying the drives,etc
click on the usb-hdd and it will mount it and open

you should see a linux filesystem there, folders like boot, etc, usr
go in the boot folder, into the grub folder
and double-click the menu.lst file
right-click anywhere on the open menu.lst and select "select all"
then right clikc again and select "copy"
then open firefox andd come here, sign in and paste into your post the menu.lst
 
Old 09-10-2009, 03:50 PM   #10
mscorsese
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
to linus72 i'm giving that a go right now and i'll have that info shortly

to linuxpokernut i gave it a go but it wouldn't even recognise the usb...let alone boot this time...
 
Old 09-10-2009, 04:01 PM   #11
mscorsese
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=e9d431ef-2560-4116-aecf-085195a450b1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=e9d431ef-2560-4116-aecf-085195a450b1

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid e9d431ef-2560-4116-aecf-085195a450b1
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=e9d431ef-2560-4116-aecf-085195a450b1 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid e9d431ef-2560-4116-aecf-085195a450b1
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=e9d431ef-2560-4116-aecf-085195a450b1 ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid e9d431ef-2560-4116-aecf-085195a450b1
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
 
Old 09-10-2009, 04:16 PM   #12
nathanpc
Member
 
Registered: Aug 2009
Location: Brazil
Distribution: Ubuntu Lucid
Posts: 45

Rep: Reputation: 15
Use the code tags to this mscorsese!
Thanks!
 
  


Reply

Tags
boot, codes, livecd, ubuntu, usb


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
I wanna make a live slackware live cd. Please help cyto Slackware 7 08-04-2011 02:23 AM
forum for live distros (live-usb) schneidz LQ Suggestions & Feedback 1 09-29-2008 01:39 PM
Debian Live CD, with 'live-helper' package xxAlk3XKidXx Debian 0 06-03-2007 03:29 AM
Live Ubuntu neither Live Kubuntu works? lomba36 Ubuntu 1 04-04-2006 02:28 PM
Live CD - Mandriva Discovery Live 2006 wpennington Mandriva 2 11-14-2005 08:28 AM


All times are GMT -5. The time now is 11:14 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