LinuxQuestions.org
Review your favorite Linux distribution.
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 07-04-2011, 02:30 PM   #1
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Rep: Reputation: Disabled
CD Boot to Ubuntu on USB Harddrive


I really new at this.

I bought a USB Harddrive (Seagate 320 GB) and I want to install a Ubantu 10.04 LTS on it. Although my HP/Compaq Mobile Workstation has a selection to boot to a USB Harddrive, I could not get it to boot to the USB HD.

So I found this page:

https://help.ubuntu.com/community/BootFromUSB

And tried to create a CD as found in "Booting the kernel from a bootable CD".

I thought I got the process to work, and it appears to have found the drive, but after a whole bunch of scrolling text and a long series of "stdin: error 0" I get:

BusyBox v1.13.3(Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help" for a list of commands
(initramfs)Unable to find a medium containing a live file system

If anyone can help me I'd appreciate it - I've got a couple of days into this now and I thought is was going to me easy.

Lance
 
Old 07-04-2011, 02:33 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,790

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
@ Reply

Hi there,

Welcome to LQ!!!

Did you try Unetbootin: http://unetbootin.sourceforge.net/

It worked for me when I wanted to install CentOS on my netbook.
 
Old 07-04-2011, 04:30 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,711

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
If you are sure of this and it seems new enough..

"has a selection to boot to a USB Harddrive"

Then moving on to a cd would not make much sense to me. Unetbootin is more for usb flash drives. It should not be used here unless I misunderstand.

Why don't you let us try to figure out what failed in the process? It should have worked.


We first need to understand where you are at. Do you have a linux cd that can be booted on that laptop?
 
Old 07-05-2011, 08:00 AM   #4
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Jefro,

I have a Ubuntu 10.04.2 Live CD that works on my lap top.

I tried Unetbootin and it didn't work either.

Lance
 
Old 07-05-2011, 09:27 AM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,949

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
I'm not sure I understand what you are trying to do. Your first post indicates you got a new hard drive and wanted to install Ubuntu 10.04 to it, correct? You then indicate you can't boot this Seagate 320GB USB hard drive, correct? What's on it? What operating system are you trying to boot from that drive? In your last post, you indicate you have the Ubuntu 10.04 CD that works in your laptop. What happens when you try to boot that CD in your computer?

Installing Ubuntu to your USB drive would not be any different that installing to any hard drive. You would have to know which drive is which based on size, operating systems on them or some other factor.

I'm really not sure I understand what you are trying to do?
 
Old 07-05-2011, 10:47 AM   #6
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
I got the hard drive for a Linux system only.
I can not boot from this hard drive.
I started out putting Ubuntu 11.XX on it from the Ubuntu website. That didn't work so I tried Ubuntu 10.04.2 and that wouldn't work either. So I tried to create a CD with a kernel on it.
There is nothing on the Hard Drive now. I was going to start again from scratch - I got in to gparted and deleted all the partitions.
In all cases I have been trying to install it from the Ubuntu Live CD with my XP drive disconnected.
The Live CD works fine.
 
Old 07-05-2011, 12:10 PM   #7
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,949

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
I'm still not sure I understand the problem. If you have not been able to successfully install Ubuntu to this dedicated Linux drive, there is no way to boot from it as there is not functioning OS there. Right? So you are able to boot the computer with the Ubuntu CD in the drive, do you get the Ubuntu options to Try without Installing or Install? What happens when you select each? How far along in the installation process do you get. Does it even begin? If so, what happens? Doesn't work doesn't help much. You need to post specific information on exactly what happens and at what point it happens. Particularly helpful are error messages if you get any.
 
Old 07-05-2011, 01:52 PM   #8
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
I really appreciate your help!

I boot my Ubuntu 10.04.2 Live CD.
Select the installation.
Select the "Erase & use the entire disk" and select my Seagate FreeAgent GoFlex 320.1 GB Hard Drive. I left my Laptop HardDrive in this time.
The installation continues through 100% and starts the reboot process.

Lots of scrolling text, ending with a screen that contains the line
"[ 1255.288525] end_request: I/O error, dev sr0, sector 526344"
The entire screen is filled with this line, except the last few numbers in the []'s changes with each line.

It stops.
I wait and then press enter.
and I get the following:

error: hd0,1 out of disk
grub rescue>

Thanks again
Lance
 
Old 07-05-2011, 02:00 PM   #9
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,790

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
@ Reply

Is there any OS already installed on your system to which you are connecting this hard drive. How many hard drive are already connected to the system? If more than two then yes it can be a problem because (as far as I am aware) you can boot your linux system only from the first two hard drives. I mean their bootloader should be in the first two hard drive.

After installation did you try booting your system using live cd (not installation just booting)?

When you power on your laptop/system did try try selecting the boot device and selecting USB to boot up the system.
 
Old 07-05-2011, 02:51 PM   #10
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
#Is there any OS already installed on your system to which you are connecting this hard drive.
Yes - I have one physical hard drive running XP. There are two partitions C: & E:

# How many hard drive are already connected to the system?
Just the one laptop hard drive and then this new USB drive.

#If more than two then yes it can be a problem because (as far as I am aware) you can boot your linux system only from the #first two hard drives. I mean their bootloader should be in the first two hard drive.
Could having two partitions on the laptop drive be a problem?

# After installation did you try booting your system using live cd (not installation just booting)?
I did and the Live CD works fine.

#When you power on your laptop/system did try try selecting the boot device and selecting USB to #boot up the system.
Yes and it went directly to:
error:hd0,1 out of disk
grub rescue>

__________________
 
Old 07-05-2011, 03:03 PM   #11
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,790

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
@ Reply

From the output it looks like it is not able to locate the boot loader. Try the following steps:

1. find /boot/grub/stage1

This will display on which partition bootloader is located. it will display something like: root (hd0,1) or may be in your case it can be root (hd1,1)

2. Once verified on which partition the bootloader is type: root (hd1,1) (This will totally depend on the above command ouput)

3. setup (hd1) which means you are setting up hd1 for the booting up (Remember this might result in WindowsXP boot also require your external HDD to be connected)

I would also recommend you to have a look at the following documentations:

http://techie-buzz.com/foss/ubuntu-1...ion-guide.html

https://help.ubuntu.com/community/WindowsDualBoot
 
Old 07-05-2011, 05:39 PM   #12
jefro
Guru
 
Registered: Mar 2008
Posts: 11,711

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
"end_request: I/O error, dev sr0, sector 526344"

This kind of makes me think it went past the grub loader and started on the OS.

A normal (tested) live cd should have been able to load ubuntu to an external hard drive just as if it were a normal install.

If you set the bios to have the external drive above the internal drive it all should have worked if you followed the installer.
 
Old 07-05-2011, 07:04 PM   #13
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,949

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
Quote:
The installation continues through 100% and starts the reboot process.
I've never used the "erase and use entire disk options" so am not familiar with the steps in the installation for it. You select your language, timezone, etc... and at the end of the installation you get a message indicating that the installation has completed. You are advised to reboot and remove the CD. Is that what happens? Did you get an option using this method as to where to install the Grub bootloader?
 
Old 07-05-2011, 08:09 PM   #14
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
#I've never used the "erase and use entire disk options" so am not familiar with the steps in the installation for it. You select #your language, timezone, etc... and at the end of the installation you get a message indicating that the #installation has #completed. You are advised to reboot and remove the CD. Is that what happens?
Yes, that is what happens
#Did you get an option using this method as to where to install the Grub bootloader?
No - but I'm trying it again and looking for that option.

It think the problem may be GRUB2 - I see a lot of posts about this same kind of problem.

Thanks for helping out!

Last edited by lancevinsel; 07-05-2011 at 08:12 PM.
 
Old 07-05-2011, 08:51 PM   #15
lancevinsel
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
I didn't see anything about a grub bootloader.

I read somewhere is was easy.

Is it worth it?
 
  


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
[SOLVED] Unable to boot fresh install on 2TB harddrive (Debian + Ubuntu) Hypertenzion Debian 20 11-25-2011 10:44 PM
USB Harddrive Boot Sector Choice Adriann Mandriva 2 03-24-2010 11:09 PM
boot from usb install from harddrive jumico Linux - Newbie 4 11-29-2008 07:30 PM
Fedora Core 6 won't recognize second internal harddrive or usb harddrive Rockgod1969 Linux - Hardware 14 01-26-2007 01:03 AM
making boot cd for mandrake on usb harddrive jensm Mandriva 5 12-20-2004 07:20 PM


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