Find the answer to your Linux question:
Results 1 to 6 of 6
Small issue with grub 2. I installed fedora on a usb drive and i'm trying to get it to boot from grub 2. I did update-grub and it found the ...
  1. #1
    Linux User hatebreed's Avatar
    Join Date
    May 2010
    Posts
    332

    booting to usb from grub2

    Small issue with grub 2. I installed fedora on a usb drive and i'm trying to get it to boot from grub 2. I did update-grub and it found the kernel on /dev/sdd2 but for some reason it is trying to point the kernel file to /boot directory in grub but the kernel is on the usb drive and when i try to set it to look at the usb drive it says file not found. Any thoughts?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Have you installed GRUB2 in USB Drive or are trying to configure GRUB2 of OS installed in Internal Hard disk?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User hatebreed's Avatar
    Join Date
    May 2010
    Posts
    332
    I'm using the internal hard drives grub at the moment. I tried it different this time with Ubuntu however and unhooked internal drive. Installed great, put grub on the usb drive and worked flawless. Is there a way to get grub 2 on the internal drive to look at the usb drive on a system that doesn't seem to want to use it's boot to usb option? I have an intel board that has the boot from usb in the bios but when I try to boot the usb drive it just errors out. P.S. that's why the grub 2 won't see the kernel on the usb drive, as I found out the trial an error. So what I'm asking is there a way to cheat and get the system to power up the usb so grub will see the drive?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up Ubuntu from Internal Disk and execute sudo upgrade-grub command. Make sure that USB disk must be plugged in before execute update command.
    Check if GRUB2 detects OS in USB disk and add its entry in newly generated grub.cfg.
    In case it doesn't work, post the output of these commands :
    Code:
    sudo fdisk -l
    sudo blkid
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux User hatebreed's Avatar
    Join Date
    May 2010
    Posts
    332
    did this many times but what happens is it will find the os but it says that it can't find them in the device.map file. so I enter the devices in the device.map but then grub says that the drive doesn't exist. I know what your thinking, i'm not entering the correct drive but that's not the case. I can go into the disk utility program in ubuntu and go off it, converting the /dev/sb? into the correct (hd?) it corrisponds to. What is interesting though is when I installed Ubuntu on the usb drive and unhooked the internal drive it installed fine and even detected the fedora install that I couldn't get to work from the internal grub. But what I would like to do though is have the grub on the internal drive point to the grub on the usb drive. I'm getting closer cause I can get it to see the kernal now but when I boot from the internal drive it starts loading the kernel and then does a kernal panic saying it couldn't load the init file. ?????

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I want to check UUID that GRUB2 is using for different partitions and actual UUIDs.

    Post the contents of device.map file too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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