Find the answer to your Linux question:
Results 1 to 10 of 10
I'm trying to get Linux to run on a laptop using a external 20G USB Hardrive. Laptop AMD3200 Simperon 1.25G Ram (HP pavilion zv6000) 1) Can't touch Internal HD, so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    9

    USB Harddrive booting


    I'm trying to get Linux to run on a laptop using a external 20G USB Hardrive.

    Laptop AMD3200 Simperon 1.25G Ram (HP pavilion zv6000)

    1) Can't touch Internal HD, so no GRUB or LiLo on that drive.
    2) Tried SuSE 10, got it installed, but will not boot, every time I try to boot just from the USB drive, the screen goes black & displays "GRUB ", no curser, no keyboard responce or anything.
    3) If I boot from CD, then go to install, boot from HD, it will then run fine.

    so.....
    What versions of Linux can handle booting from USB (The SuSE forums were telling me that SuSE wont boot from a USB Drive )

    Thank you for any help you can provide.

    Rember. I can't install anything to the internal HD, no boot loaders or anything.

  2. #2
    Linux User Game master pro's Avatar
    Join Date
    Sep 2005
    Location
    Tasmania, australia
    Posts
    274
    Just a question? but why can't you install a boot loader to the internet harddrive?

    anyway, with about 2 minutes of googling i found this: link

    it seems fedora has support for what you are looking for

  3. #3
    Just Joined!
    Join Date
    May 2004
    Posts
    9
    Quote Originally Posted by Game master pro
    Just a question? but why can't you install a boot loader to the internet harddrive?

    anyway, with about 2 minutes of googling i found this: link

    it seems fedora has support for what you are looking for
    Work Laptop, cant modify it, but I can boot from external devices.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2004
    Posts
    9
    FYI I was reaning over the link provided, and that for USING a USB Drive, not the issue Im having, I want to boot the system off the USB Drive.

    Still No Joy

  6. #5
    Linux User
    Join Date
    Jul 2005
    Posts
    369
    there was a guide on here on using fedora on a external hd
    All i want for christmas is a new liver....a second chance to get afflicted with Cirrhosis

  7. #6
    Just Joined!
    Join Date
    May 2004
    Posts
    9
    found the guide, got fedora installed (works if I have it on the internal drive), but on the usb drive, displays the word "GRUB " and thats all

  8. #7
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,932
    Quote Originally Posted by winter
    there was a guide on here on using fedora on a external hd
    That was me! I wrote that (but thanks to all on here - I didn't make any of it up, I just cribbed it from several posts by other people and put it all together)
    Linux user #126863 - see http://linuxcounter.net/

  9. #8
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,932
    Quote Originally Posted by pgp_protector
    found the guide, got fedora installed (works if I have it on the internal drive), but on the usb drive, displays the word "GRUB " and thats all
    You've not followed the instructions properly. You must use 'mkinitrd' to build the img file for the disk, this ensures that the USB drivers are loaded before trying to access the filesystem. You also need to be sure that you updated your grub.conf to point at the new .img file with the kernel you're using. The new .img file will still work if the disk is used internally or externally. Just dont do what I did, and move the laptop with the drive plugged in and have the drive slide off the table and bounce on the floor. If you do this, you'll find it becomes really really hard to boot the kernel.
    Linux user #126863 - see http://linuxcounter.net/

  10. #9
    Just Joined!
    Join Date
    May 2004
    Posts
    9
    Ok, I know I'm doing somthing wrong (it's not working )

    When I boot it in the internal HD location, I've got the following in the Root Folder/Boot/ location

    config-2.6.11-1.1369_FC4 (50K)
    initrd-2.6.11-1.1369_FC4.img (1.7Meg)
    System.map-2.6.11-1.1369_FC4 (894K)
    usbinitrd.img (1.9Meg)
    vmlinuz-2.6.11-1.1369_FC4 (1.9Meg)

    I thought I created the usbinitrd.img correctly, i used the command

    mkinitrd --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod /boot/usbinitrd 2.6.11-1.1369_FC4

    and that created the usbinitrd.img file

    My Grub.conf file shows

    title Fedora Core (2.6.11-1.1369_FC4)
    root (hd0,0)
    kernel /vmlinuz2.6.11-1.1369_FC4 ro root-/dev/VolGroup00/LogVol00 rhgb quite
    initrd /usbinitrd.img


    So what do I change ?

  11. #10
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,932
    You should be using this:

    Code:
    cd /boot
    mkinitrd --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod /boot/usbinitrd.img 2.6.11-1.1369_FC4
    to create your .img file

    Your grub.conf file should contain this in the kernel line:

    kernel /vmlinuz2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •