Final step to boot from an USB hard disk?

From: Antonio Montagnani (anto.montagnani_at_virgilio.it)
Date: 03/23/05

  • Next message: Sudheer Narayan: "Help needed for configuring DHCPv6 server and client"
    Date: Wed, 23 Mar 2005 07:38:50 +0100
    To: Fedora List <fedora-list@redhat.com>
    
    

    Following Simon's instructions ( www.simon.com/usb ):
    Please note that it is an IDE hard disk in an IDE to USB box (and
    working properly both in Linux and Windows...)

    1) I installed Fedora on the external Hard disk, installing grub on
    /dev/sda and deleting the option to start Windows as my goal is to have
    a Fedora system booting any laptop!!

    2) according to the instructions I created a new image

    3) I modified the grub.conf file that now looks like:

    #boot=/dev/sda1
    default=0
    timeout=5
    splashimage (hd1,0)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.9-1.667)
      root (hd1,0)
      kernel /vmlinux-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
      initrd /usbinitrd.img

    Is it correct??

    4) I rebooted the machine, but the Rescue disk tells me that there is no
    Linux partitions!!!!!

    5) Fdisk -p /dev/sda says:

    Disk /dev/sda:81.9 GB, 81964302336 bytes
    255 hads, 63 sectors/track, 9964 cyclinders
    Units = cylinders of 16065 * 512 0 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 140 1020127+ 82 Linux
    swap
    /dev/sda3 141 9964 78911280 83 Linux

    If I manually mount the system by :
    mkdir /mnt/sysimage
    mount /dev/sda3 /mnt/sysimage
    mount /dev/sda1 /mnt/sysimage/boot
    choot /mnt/sysimage
     
    6) At this point if I issue fdisk /dev/sda I get : Impossible to open
    /dev/sda ??? what does it mean??

    7) If I check my fstab file it looks like:

    LABEL=/ / ext3
    defaults 1 1
    LABEL=/boot1 /boot ext3 defaults 1 2
    none /dev/pts devpts
    gid=5, mode=620 0 0
    none /dev/shm tmpfs
    defaults 0 0
    none /proc proc defaults
    0 0
    none /sys sysfs defaults
    0 0
    LABEL=SWAP-sda2 /swap swap defaults 0 0

    Why boot1 and not boot????

    8) at this point I tried to instal grub (grub-install /dev/sda ) but I
    get the reply :
    /dev/sda: not found or not a block device!!!

    Any help????Thanks

    -- 
     Antonio M.
     ===================================================================
     Working with  Mozilla Thunderbird 0.9 on Redhat Linux Fedora Core 3
     ===================================================================
     ===================================================================
         Uso Mozilla Thunderbird 0.9 su Redhat Linux Fedora Core 3
    		www.montagnani.org
     ===================================================================
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Sudheer Narayan: "Help needed for configuring DHCPv6 server and client"

    Relevant Pages

    • triple boot Windows XP and linux
      ... Currently my computer can dual boot Windows XP (hard disk 1 primary) ... If I want to install another linux (e.g. Fedora Core 2 or Mandrake 10) ...
      (comp.os.linux.setup)
    • Re: Did I make a mistake in starting with Fedora Core 4?
      ... FC4 is a snapshot from the state Fedora was in before the previous ... Fedora Core 1 was what was intended to be RHL 10. ... > Windows partition to get certain tasks done. ... CDROMs should be readable on Linux as with windows. ...
      (Fedora)
    • Re: Penis-Waving Goats (Planned Weekend Gaming 30/06/06)
      ... I would quite like to play Dapper Drake this weekend too. ... Then 'apt-get update' and 'apt-get upgrade'. ... CD to ghost my linux disk across the network. ... Then I had to write zeros into the empty space on my linux hard disk to ...
      (uk.games.video.misc)
    • Re: RH9 Poor performance, stability
      ... > It's impossible: Swampee is a troll. ... things I've quoted at the bottom of the post, confirming that Linux ... (Fedora Core 2 with GUI) ... has out-of-control memory requirements, ...
      (comp.os.linux.setup)
    • Re: RH9 Poor performance, stability
      ... > It's impossible: Swampee is a troll. ... things I've quoted at the bottom of the post, confirming that Linux ... (Fedora Core 2 with GUI) ... has out-of-control memory requirements, ...
      (comp.os.linux.misc)