linux n00b : no boot from external hdd

Discussion in 'Linux' started by joh, Nov 16, 2008.

  1. joh

    joh

    Joined:
    Oct 22, 2008
    Messages:
    2
    Likes Received:
    0
    this linux n00b has managed to figure out how to use dd to make an exact copy of his ssd on an external usb hdd but he can't boot from it.
    fdisk doesn't have an asterix for the disk.
    does anyone know what he needs to do to make it bootable?

    [edit]
    when i try
    [root@localhost user]# parted /dev/sdb1 toggle 1 boot
    i get
    Error: The flag 'boot' is not available for loop disk labels.
     
    joh, Nov 16, 2008
    #1
  2. joh

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    How about trying:

    parted /dev/sdb set 1 boot on

    Cheers.
     
    rbil, Nov 16, 2008
    #2
  3. joh

    joh

    Joined:
    Oct 22, 2008
    Messages:
    2
    Likes Received:
    0
    same result with that instruction :|
     
    joh, Nov 17, 2008
    #3
  4. joh

    Duncan_Rowland

    Joined:
    Aug 25, 2008
    Messages:
    246
    Likes Received:
    0
    "[root@localhost user]# parted /dev/sdb1 toggle 1 boot"
    I think you want to make the disk bootable (sdb), not the partition on that disk (sdb1)
    Try,
    [root@localhost user]# parted /dev/sdb toggle 1 boot
     
    Duncan_Rowland, Nov 17, 2008
    #4
  5. joh

    jinx022

    Joined:
    Oct 2, 2008
    Messages:
    76
    Likes Received:
    0
    These are wild guesses:

    1. Try editing your /etc/fstab on the USB drive to mount sdb rather than sda.

    Or:

    2. Use live gparted on a usb drive to temporarily set the boot flag on the SSD drive to 0.


    Also, your partition table will be wrong unless the external drive matches your internal drive exactly.
     
    jinx022, Nov 17, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.