Install Fedora Core 5 on a USB mobile hard drive

Source: Internet
Author: User
Purpose
This article describes how to install Fedora Core 5 on a USB mobile hard drive. Of course, this article can also be used as a reference to install other Linux versions to a USB mobile hard drive.

About
Author: Ken. Hu (superkun@sina.com)
Date: 2006-05-26
Version: 0.1 _ CH

Environment
HOST: Dell Inspiron 600 m notebook
USB mobile hard drive: westdigital 150 GB

Steps
1. Ensure that the BIOS support of the host can be started from the USB mobile hard disk.

2. Unplug or disable the built-in hard disk of the host. Before installing fc5, I split the built-in hard drive of the Dell 600 m notebook. This step is very important, so that the fc5 installer can write the grub boot information to the MBR of the USB mobile hard disk.

3. Insert the USB mobile hard disk into the host. If necessary, do not forget to add power.

4. Start the instance. Use fc5 to install CD/DVD. You may need to set the BIOS to use CDROM as the boot device.

5. When "Boot:" appears on the screen, enter"Linux expert".

6. The fc5 installation project will find the device/dev/SDA. Install fc5 on this device, just like installing fc5 on a built-in hard disk. During installation, make sure that grub boot restart is blowing? Dev/sda mbr.

7. After the installation is complete, use fc5 to install CD/DVD to restart the computer.

8. When "Boot:" appears on the screen, enter"Linux rescue expert".

9. If the fc5 First Aid Program does not automatically mount the fc5 installed on the USB mobile hard drive, you can manually mount the USB mobile hard drive to/mnt/sysimages:
# Mkdir/mnt/sysimages
# Mount/dev/sda2/mnt/sysimages
/Dev/sda2 is the root file system device. If there are other boot partitions, you also need to manually load them:

# Mount/dev/sda3/mnt/sysimages/boot
Assume that/dev/sda3 is the boot partition device.

10. Change the root directory of the file system:
# Chroot/mnt/sysimages

11. regenerate the initrd file:
# Mkinitrd -- preload = EHCI-HCD -- preload = uhci-HCD -- preload = USB-storage -- preload = scsi_mod -- preload = sd_mod/boot/usbinitrd-'uname-R' uname -R'
Note: 'is not a quotation mark, but the button on the left of '1.

12. edit/etc/grub. conf and use the generated initrd file.

13. restart the computer and configure the BIOS to start from the USB mobile hard disk.

Tips
1. If you confirm that everything is done correctly, but the PC still cannot start from the USB mobile hard disk, try to plug the USB mobile hard disk into another USB port. I found that on some platforms, such as the giga 7vrxp motherboard, some USB ports cannot start the device.

2. After fc5 is installed on the USB mobile hard disk, the USB mobile hard disk can still be used to start a computer with a built-in hard disk (such as an IDE Hard Disk.

3. When the USB mobile hard disk is used to start another computer, if the kernel panic problem occurs, redo steps 7th to 13 to solve the problem.

Http://superkun.spaces.live.com/blog/cns! F6b715f3c0e6e8fe! 126. Entry? _ C11_blogpart_blogpart = blogview & _ c = blogpart # permalink

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.