Re: Booting from 120 GB USB External Hard Drive

From: Luciano Miguel Ferreira Rocha (strange_at_nsk.no-ip.org)
Date: 05/31/04

  • Next message: Brian K Bonner: "Search of archives working???"
    Date: Mon, 31 May 2004 20:37:48 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    

    On Mon, May 31, 2004 at 01:40:57PM -0400, rab wrote:
    > Is there any way to install Fedora to a 120 GB hard drive and boot from
    > it? When I try to install, Fedora does not see the USB drive. How can I
    > get this to work?

    When my laptop died for good, I picked the harddisk, bought an USB2 case
    and burned a bootable cd with a slightly changed initrd and the kernel
    image I used.

    I also changed the partition labels so not to clash with any on the local
    harddisks.

    So my laptop got, in effect, lighter...

    Anyway, to create an initrd with usb support for an installed kernel,
    either:

    * run mkinitrd with option --with-usb

    * change /sbin/mkinitrd to force usb
      (change line: needusb="" to needusb="1")

    * manually specify the modules
      (script attached)

    But I never tried installing on a USB harddisk. I guess you must insert
    the necessary modules when the instalation starts (see the script for
    which ones).

    Regards,
    Luciano Rocha

    -- 
    Consciousness: that annoying time between naps.
    
    

    #! /bin/bash
    cd /boot
    for i in vmlinuz*
    do
            V=${i#vmlinuz-*}
            echo "Creating /boot/initrd-$V.img"
            if echo $V | fgrep -q 2.4.
            then
                    mkinitrd -f -v --preload sd_mod --preload ehci-hcd --preload usb-uhci \
                            --preload usb-ohci --preload usb-storage \
                            "/boot/initrd-$V.img" "$V"
            else
                    mkinitrd -f -v --preload sd_mod --preload ehci-hcd --preload uhci-hcd \
                            --preload ohci-hcd --preload usb-storage \
                            "/boot/initrd-$V.img" "$V"
            fi
    done

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Brian K Bonner: "Search of archives working???"

    Relevant Pages

    • Re: Newby Problem
      ... > I have installed Fedora core 4 on one of my machines and all seems well ... On every package that I select I receive ... Even though they all install and work fine it is a real ... >> Yes, when I copy it on my PC, it opens properly ...
      (Fedora)
    • unsubscribe
      ... A question about procmailrc (jdow) ... Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp ... Subject: Generic Install ... my CPU is an Intel Pentium 4 D. It's a newer Dual Core Pentium ...
      (Fedora)
    • Re: unsubscribe
      ... yum update having problems with xmms ... Re: Mozilla rpm ... Re: Poll: Customized Fedora ... this fix manually (fetch it and install it); ...
      (Fedora)
    • RE:xstartup config file
      ... > to do a new install as here was no upgrade option offered during the ... >> Is there a rough date yet for the next Enterprise Linux ... >> way to get a way above decent multimedia setup for Fedora. ... > RedHat Enterprise Linux but I would note that RedHat ...
      (Fedora)
    • Newby Problem
      ... I have installed Fedora core 4 on one of my machines and all seems well ... Even though they all install and work fine it is a real ... files at my file server, ... > Yes, when I copy it on my PC, it opens properly ...
      (Fedora)