LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-04-2006, 12:13 PM   #1
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
installing linux on USB hard drive


I'm trying to install fedora core 5 on my 300g seagate usb hard drive, I have the cd iso's but the only problem I'm having is during the installation. when i boot from the cd, everything works properly except the fact that its trying to install on my laptops hard drive. I've read a lot of articles but they haven't seem to help my understanding or give alternatives such as live cds. how do i get the option to install fedora to my usb drive?

Last edited by gntx21; 08-04-2006 at 12:14 PM.
 
Old 08-04-2006, 01:16 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
i'm not to familiar with fedora, but you should be able to manually select the drive. I'm pretty sure fedora loads usb drivers from the cd, try mounting /dev/sda1 that will tell you if it is detected.
 
Old 08-04-2006, 02:42 PM   #3
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
are daemons good?

when i boot up from the installation cd at the bottom and where it says boot:/ is that where i'm suppose to type it in?

Last edited by gntx21; 08-04-2006 at 02:56 PM.
 
Old 08-05-2006, 06:03 AM   #4
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
try it at that point
 
Old 08-06-2006, 09:22 PM   #5
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
no that didn't work. i don't know what to do now... any suggestions?
 
Old 08-07-2006, 07:00 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
If you select expert mode you will be able to install to the USB drive.
However, you need to create a new inital ramdisk to include USB modules before you can boot.

http://www.linuxforums.org/forum/lin...isk-drive.html
 
Old 08-07-2006, 08:08 PM   #7
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
how can i create an initial ramdisk to include usb modules before i boot?
 
Old 08-07-2006, 08:11 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Did you read the link? Use the install CD and boot using rescue mode.
 
Old 08-07-2006, 09:24 PM   #9
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
where can i download grub free? and which version is best?
 
Old 08-07-2006, 09:27 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
No need to download grub since it is already included with Fedora.
Or maybe I do not understand the question.
 
Old 08-07-2006, 10:18 PM   #11
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
o i didn't know that. on the link it says to "make sure that grub is installed to the boot sector of the USB drive. " and following that it gives some steps. are those step explaining how to do this?
 
Old 08-07-2006, 11:02 PM   #12
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
i'm sorry mike but i don't understand what he's talking about. i don't understand the steps he's taking. i'm not sure how to mount it and change the root.
 
Old 08-08-2006, 06:05 AM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
During the install process you will have a choice on the location for grub. Be sure to select the USB drive. After the initial install process you will reboot the computer with the 1st install disk and select rescue mode. The / partition will be mounted at /mnt/sysimage. So once the system is rebooted:
1. chroot /mnt/sysimage
2. mkinitrd .... per the link
3. mount your /boot if it is on a seperate partition and copy the new image to the directory.
4. Edit /etc/grub.conf to modify the initrd line for the new image (Use vi text editor since you will be in console text mode only)
5. Reboot the PC and hopefully it boots from the USB drive.
 
Old 08-08-2006, 09:17 PM   #14
gntx21
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Original Poster
Rep: Reputation: 15
one last question and i'll leave you alone... uhm how do i know if grub has been installed? when i boot up with the installation disk it gives me the boot command prompt and a few options, and if i don't have grub installed how can i install it?

ps i know i'm being a lil troublesome. lol
 
Old 08-09-2006, 08:53 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
No worries, your not being troublesome....
To install grub to the MBR of the USB drive.
1. Boot 1st install CD and select rescue
2. Enter the commands:
chroot /mnt/sysimage
grub-install /dev/sda (assuming this is the only scsi type drive. SATA drives are also have SCSI devices IDs so verify before entering command)
 
  


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
Installing Linux on External hard drive connected by USB port omidiora Linux - Newbie 1 04-29-2006 09:51 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Installing SuSE 9.3 from a USB Hard Drive voxel SUSE / openSUSE 2 08-19-2005 07:09 PM
Installing on a usb hard drive? freddurgan Linux - Hardware 2 01-22-2004 10:18 AM
Installing USB hard drive shaydwyrm Linux - Hardware 0 07-24-2003 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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