PDA

View Full Version : The COMPLETE guide to installing Linux Fedora Core 5 on your external HD



nincb123
5th August 2006, 03:55 PM
I used to have trouble, but no more, that I why I decided to write this guide.

Table of Contents:

Pre: Notice/Disclamer

I - Requirements
II - What I used to install
III - The Disks
IV - Booting off of Disk 1
V - Special Parimeter
VI - Starting Install Process
VII - Keyboard, Language, and PARTITION TABLE!
VIII - GRUB (GRand Unified Bootloader)
IX - Network and Timezones
X - Root Password
XI - Packages
XII - Pre Install
XIII - Install Process
IVX - Post Install
VX - Rescue Disk
VXI - Mounting, and Making a New RAM Disk
VXII - Reboot, First Steps
VXIII - Have Fun!


-----------------Pre--------------------------------------

I am NOT responsible to any damage to your computer what-so-ever happens while following these instructions, although I certify that it is safe, I tested it myself, I am still not responsible for your computer.

BACK UP YOUR STUFF BEFORE GOING ON, EVEN ON YOUR INTERNAL HD, JUST IN CASE.

PRINT OUT THESE INSTRUCTIONS, YOU WONT BE ABLE TO REFER TO THEM WHILE YOU ARE GOING ABOUT THIS PROCESS. IF YOU DONT HAVE A PRINTER, USE A SPARE COMPUTER. (Like a laptop)

-----------------I Requirements------------------------

Requirments may vary from computer to computer but always one thing is the same:

MAKE SURE YOU HAVE USB SUPPORT FOR BOOTING IN YOUR BIOS BEFORE GOING TO BUY A 300$ EXTERNAL HD FOR LINUX.

You also need a CD reader and Burner.

There is a CD that you can make that will boot Fedora Core for you, but it is experimental.

Also, most newer computers (From 1998 - 2000) have CDrom Booting Support, if you dont have that STOP NOW. It will end in tears. But if your computer is that old, go over to your computer retailer and buy a new one. Ditch windows 3.0!

At least 1 GB for fedora! No packages included!

-----------------II What I used-----------------------

I have a I386 Intel Pentium 4 processer with 512 MB of RAM, system clock not UTC Supported, with a Western Digitial MyBook 250 GB external HD. I reserved 20 GB which is recommended for fedora.

----------------III The Disks------------------------

Go to the fedora core website and head off to the downloads section, then select your processer. Most of the time, you will be I386 if your computer is 6 years old at the max. If your computer Is REALLY old, select X_86, if you are using a Macintosh computer, choose Power PC or PPC.

After you download all 5 images, (Rescue is optional, but highly recommended in case something goes wrong and you lost install disk 1)

Then go grab some CD's (CD-R's preferibly) then go to your favorite burning software and choose to burn ISOs. DO NOT BURN THESE ISO's as DATA DISKS!

Once the burning is done, go to the next chapter.

-----------------IV Booting off of Disk one ------------------

Restart your computer and hit F12, F10, F6, DEL, or F2 or Possibly Enter depending on your BIOS type to go to your boot device selection screen. Insert your Fedora Core 5 Disk One into the drive and boot away! You should get a prompt that says something about ISO and Copyright in about 7 sec. If not, try again, if that does not work, you did something wrong when downloading or burning the images.

-----------------V Special Parimeter----------------------

If you see the fedora logo and a Boot: prompt, congradulations! If not, go back to steps 3 and 4.

We need to enter a special thing instead of just pushing enter because we are installing off of a external HD.

Type:

Linux Expert

Then enter, of course.

-------------VI Starting Install Process---------------
After the booting finishes, you should see a screen that says "Welcome to Fedora Core" at the top. It will ask you about testing your install media. I highly suggest if it is your first install with these disks to test them to make sure the burning and downloading process went successfully. After you are done, move onto the next step.

-------------VII Partition Table, Language and Keyboard------------

After the install process, acaconda, starts, press next to go to the language selection screen to select your prefered language, then hit next and select your keyboard settings, then click next once more.

Welcome to the second most important part of this installation process!! First, uncheck your internal drive(s) (usully HDA) and check SDA only. If you just see your internal drives, make sure you typed linux expert at the boot: prompt when you booted the CD. I highly suggest making a custum partition table, but if you have free space, select the option for automated, make sure it is the free space option! Always check if it is not already, modify and change partition table at the bottom. Make sure force primary is checked on all partitions you made.

ALWAYS CHECK THAT YOU DID IT CORRECTLY!

-----------VIII GRand Unified Bootloader-----------------

Select to install the bootloader, and leave all options unchanged except check configure advanced bootloader options, and click next.

Select the change drive order buttion and use the arrows to put SDA at the top, and select to install it to the MBR of SDA. MAKE SURE IT IS NOT HDA, YOU WILL HAVE A HUGE PROBLEM IF YOU INSTALL IT THERE!

Some people have had success if you select SDA First Sector Of the Bootpartition, but it didnt work for me...

Leave the bottom alone.

----------IX Network and Timezone----------

Select your network settings and click next, if you dont know, contact your system admin or your ISP. Then select your timezone. Here is a important part, if your system does NOT support UTC, DO NOT CHECK IT, REPEAT, DO NOT CHECK IT. WINDOWS, Linux AND your BIOS wont like it.

---------X Root Password----------

Select a strong password, one with letters, numbers and capatals, then confirm it. (Case Sensitive!) Write it down someware safe if you wont remember it.

----------XI Packages-----------

Select what packages you want to use for the installation process, if you select them all, it will take up about 10 GB of space, so BE PREPARED!

---------XII Pre Install ---------

NO changes to your system will result unless you click next, if you are unsure about something, click back and review your options! When you are ready, hit next.

---------XIII Install Process-------

Expect at least 4 min. to a hour and a half depending on which packages you selected, how fast your external HD is, how fast your processer is, and what USB version you have. (If it is 1.1, at least double the estimated time)

---------IVX Post Install--------

Sometimes, you dont follow the rules. If the install went without error, instead of taking all disks out and rebooting, put in disk 1 and reboot. Boot disk one and type linux rescue at the Boot: Prompt.

--------VX Resue Disk------

Welcome to linux rescue! After it detects your USB stuff, select your language and keyboard settings. When it asks about network detection, select "No". Then press continue at the detect prompt for finding installations. Press ok and a shell will appear.


-------VXI Ram Disk--------

If you try to boot now, you will see the lovely kernal panick. So run this:

chroot /mnt/sysimage
mount /boot/ if not automaticlly
ls /boot
Make note of the initrd file name (The ramdisk. Normally if you are using fedora core 5, it would be initrd-2.6.15-1.2054_FC5.img)
rm initrd-2.6.15-1.2054_FC5.img (Or whatever it is)
mkinitrd --preload ehci-hcd --preload usb-storage --preload scsi_mod --preload sd_mod /boot/initrd-2.6.15-1.2054_FC5.img 2.6.15-1.2054_FC5 (No errors should result, the version name might be different)
exit
exit

---------VXII Reboot First Steps------------

Follow the step by step instructions!

--------VXIII HAVE FUN-----------

Have fun! I suggest to run Yum update.

james419
30th August 2006, 03:28 AM
Using this basic method I was able to boot a LVM default install by making several changes.
1. In the disk partitioning section I selected the option to use an unused part of my USB drive which was indicated as sda. I also selected the option to Review and modify partitioning layout. This allowed me place the bootloader on the USB drive and set the boot order of the drives.
2. When restarting in the rescue mode I used the following commands to generate an initrd for my USB drive.

mount /boot

rm /boot/initrd*

mkinitrd --preload ehci-hcd --preload usb-storage --preload scsi_mod --preload sd_mod --force-lvm-probe /boot/initrd-2.6.15-1.2054_FC5.img 2.6.15-1.2054_FC5

I did the normal exits, rebooted and was into Fedora Core 5 .

Edit - Correct spelling on not no in placement of bootloader.

nincb123
30th August 2006, 08:46 PM
The bootloader is usually required- It works with SDA HD, and provides greater system security.

The force lvm probe is generally not required, and is a rare case, I found that LVM installations do not go without flaws all of the time.

And rming the initrd is not required either.

I am glad you got it working though :)

drsknaik
5th September 2006, 07:51 AM
Hi
It was fun installing FC5 compared to earlier disrtro. But could not configure my Printer WeP Laser 16000+ ( Bloomer Laser)

shakyone
14th February 2007, 03:37 AM
I installed FC5 to my External USB drive attached to my Dell D620 yesterday using this method. When I updated the software plugged into the internet I had to repeat steps IVX to VXII, which was kind of a pain, but it works fine. Then today I upgraded to FC6 using the install DVD, and had to follow the similar routine of installation overall, including steps IVX to VXII again, however, after the software update of FC6, I did not have to do the mkinitrd again. I don't know why, but I like it. Now if I could just get the D620 wireless working I would be an even happier Fedora USB camper. But that is a different thread.

Thanks for the guide, it works very well. I would guestimate it would work well for a fresh install of FC6 too, but I did not track what that would be, since I upgraded.

nincb123
14th February 2007, 02:06 PM
Confirmed. This works with a fresh installation of FC6

guru_rai
13th March 2007, 10:21 PM
I have followed the instructions here for installing FC6 but seem to be having dificulties. The only chnage I made from the instructions given was to select to install bootloader on /dev/sdb MBR as sda is the internal hdd on my machine.
I also wasn't able to see "force primary" for my partitions. Is this because I chose to do a "free space" install and not a custom? And where it says to do "ls /boot" should this read "cd /boot"?

On restart, in the BIOS, I selected to boot from "usb storage" but I just get a blank screen with a flashing cursor.
I also tried using "--force-lvm-probe" and that also didn't help.

I am using a WD external 250Gb MyBook and a Dell Inspiron 6000 laptop.

Any ideas on what could be wrong?

nincb123
9th April 2007, 11:08 PM
I have followed the instructions here for installing FC6 but seem to be having dificulties. The only chnage I made from the instructions given was to select to install bootloader on /dev/sdb MBR as sda is the internal hdd on my machine.
I also wasn't able to see "force primary" for my partitions. Is this because I chose to do a "free space" install and not a custom? And where it says to do "ls /boot" should this read "cd /boot"?

On restart, in the BIOS, I selected to boot from "usb storage" but I just get a blank screen with a flashing cursor.
I also tried using "--force-lvm-probe" and that also didn't help.

I am using a WD external 250Gb MyBook and a Dell Inspiron 6000 laptop.

Any ideas on what could be wrong?


Sometimes, LVM installations do not function on certain computers and/or external hard disks. My suggestion is to do a custom install. Make a / root partition - (give it the most space) a /boot - /home, /usr, /var are all optional as partitions.

Let me know if this works!

~Nincb

guru_rai
11th April 2007, 02:53 PM
Thanks for getting back to me. So, I tried doing a custom install last night and it still didn't work - same flashing cursor.

I tried changing the boot order to have 'USB Storage' boot first. At this point I noticed a message saying "No boot sector on USB drive" and then the bios proceeded to boot off the internal hdd. Is this the source of my problems? My USB drive already has an NTFS partition on it that I used for backing up windows and it is located at the start of the drive and then 20GB of free space for my linux installation. Do I need to remove my NTFS partition and move it to the end of the drive?

nincb123
28th July 2007, 09:45 PM
Try reordering partitions.

Nincb

rucciva
28th October 2009, 04:14 AM
does it will work with fedora 11 ????