/boot on a usb drive [SOLVED]

Hey everybody I have been trying to get a fresh install to have /boot on a usb drive and the rest on the hard drives.
My setup is 5 drives raid 5 (md0)  --->  encrypt layer ---> lvm with a root and home
That whole setup works fine I can mount it from the live CD and everything.
I setup /boot to be on a usb drive plugged into the system. Every time I try and boot I get operating system not found and a grub prompt.
grub
root(0,0)
(kernel section) cryptdevice=/dev/md0:array root=/dev/mapper/array-root
I have dm_mod and ext4 in the modules line of mkinitcpio and usb after udev and mdadm encrypt lvm2 before filesystem.
I also have uselvm on it the /etc/rc.conf
does anyone have any suggestions on what I need to do to get this booting right.
Last edited by tpolich (2011-07-11 06:24:26)

I have a boot system using two raid0 CF cards and within that raid array is a boot partition on sda1 and a swap on sdb1 each 100mb.  The raid devices are sda2 and sdb2, the remaining partitions of the two devices.
It may be that USB is not enabled at boot time?

Similar Messages

  • How can I boot Cisco1841 with USB Drive instead of CF?

    Hello
    I need to boot Cisco1841 with USB Drive instead of Compact Flash but I don't know what should I do.
    I heard I need to format USB Drive with FAT and need to save IOS on the USB Drive.
    Before boot, Need to set config register ? I am not sure which parameter should I set config register in detail.
    Please let me know if there is URL describing thease steps from the beginning.

    http://www.cisco.com/en/US/prod/collateral/modules/ps6247/prod_qas0900aecd80232483.html
         Q. What sizes of USB Flash sticks are supported?
         A. USB Flash sticks are supported in 64, 128, and 256 MB sizes. No other sizes are supported.
         Q. Can I use any USB memory stick for this application?
         A. No. Only Cisco USB memory sticks are supported.
    Q. Can I boot an image directly from the USB Flash module?
    A. Yes. USB drivers have been added to rommon, starting with version 12.4(13r)
         Q. Can I format the USB Flash module on the router?
    A. Yes. You can format the module on either a router or a PC. You must  specify "FAT16 file system" as the file system for the PC format process  to use.
    If your setup satisfies above conditions you can get the router to boot up with the IOS on the USB flash
    If you are in ROMMON mode, use 'dev' to find out the name of the USB Flash (should be usbflash0).
    set BOOT=usbflash0:
    If you are in the router,
    boot system flash usbflash0:

  • Running Arch from a usb drive[SOLVED]

    I am trying to install arch on a usb drive with ext3 format. I have entered root=/dev/disk/by-uuid/... on the kernel line and in /etc/fstab file (as mentioned in the wiki). On booting I am dropped to a limited shell with few linux commands. On running 'blkid' there, I find that the fixed computer hard disk is detected as sda1,2 etc and usb drive is not being detected at all.  The results are similar if I use root=/dev/disk/by-label/..
    How can I boot from the usb drive.
    Last edited by rnarch (2012-03-24 15:38:08)

    My menu.lst:
    # (0) Arch Linux
    title Arch Linux
    root (hd0,0)
    #kernel /boot/vmlinuz26 root=/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC32C7BAB1B7DE00ED-0:0-part1 ro
    #initrd /boot/kernel26.img
    kernel /boot/vmlinuz-linux root=/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC32C7BAB1B7DE00ED-0:0-part1 ro
    initrd /boot/initramfs-linux.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,0)
    #kernel /boot/vmlinuz26 root=/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC32C7BAB1B7DE00ED-0:0-part1 ro
    #initrd /boot/kernel26-fallback.img
    kernel /boot/vmlinuz-linux root=/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC32C7BAB1B7DE00ED-0:0-part1 ro
    #kernel /boot/vmlinuz-linux root=0811 type=ext3 ro
    initrd /boot/initramfs-linux-fallback.img
    and mkinitcpio.conf HOOKS variable:
    HOOKS="base udev pata scsi sata usb filesystems"
    Hope those would help, good luck!

  • Can Macbook Pros (and Macbooks) boot off of USB drives?

    I know that you cannot boot off of USB drives in iMacs, but is that the case for Macbook Pros and Macbooks too? I have Ubuntu installed on a 16 GB usb drive and was wondering if it is possible to boot to that usb drive. I cannot simple Boot camp or just dual boot my own way because it is a school computer that they lend me for the year.

    I know that you cannot boot off of USB drives in iMacs
    That's only the case for some PowerPC Macs. It doesn't apply to any Intel Mac, including MacBooks and MacBook Pros.
    (55569)

  • Can you boot off a usb drive or external hard drive (usb 2.0) on an iMac?

    I have an intel iMac that will not boot off of a USB drive with Ubuntu installed (my PC netbook boots off the usb drive fine) or my external hard drive with Ubuntu installed. I heard somewhere that you cannot boot off of usb on iMacs even if they are Intel, but a Genius bar guy told me diffferent. Then why won't it work for me, and how can I make it? Thanks.

    I should have been more general in my post - I don't believe any Mac can boot off an external drive with Ubuntu. I could be wrong of course (and if I am, hopefully someone will correct me), but as Mac hardware is so specific that it demands a specific install disk for each build/model/generation, it would be unable to boot with just a "foreign" OS such as Ubuntu installed. As you may know, you can't boot an iMac with an install disk from a different model iMac, Macbook, or any other Mac (unless it is exactly the same build/model), so it doesn't surprise me that it won't boot with Ubuntu.
    Edit: and this question begs to be asked: why would you want to boot/use Ubuntu when you have a superb OS to work with already?
    Message was edited by: Barbara Daniels1

  • Booting from external USB drive

    I was wondering if there is any way to boot from a USB drive that I have? I partitioned the drive, erased it, and its basically ready to go. But I can't install Mac OS X on it because it says that I cannot reboot from the drive.
    I know that iBook G4s generally can't boot from a USB devise but is there any way to get around this?

    If you're computer is having kernel panics there's a conflict; either software or hardware. 2GB of free space isn't enough but I haven't seen anything that suggests KPs are caused by too little free space. Your computer should start fine with 2GB free. It may have problems after a period of use but it would startup and run.
    Try starting in Safe Mode. If successful move some of your files to the external drive and then restart normally. If it KPs again, restart in safe mode and disable all startup items in System Preferences>Accounts>youraccount and restart. If it KPs again go through the linked troubleshooting steps by Dr. Smoke step by step. That's the only way to resole your problem.

  • [SOLVED]Error when trying to boot from a usb drive

    I have installed arch linux on a usb drive.
    When I am trying to load it , I get the following error :
    ERROR: '/dev/disk/by-label/ARCH_201211' device did not show up after 30 seconds
    Any ideas?
    Thank you.
    Last edited by skiabox (2012-11-16 19:55:10)

    Use a BitTorrent client instead of a ddl (direct download link). This way it's less prone to errors, because it's checked while it's being downloaded.
    Either that, or check its MD5 against the one from the Download page.
    There's also this: https://wiki.archlinux.org/index.php/Be … ion_medium
    Note: The quality of optical drives and the discs themselves varies greatly. Generally, using a slow burn speed is recommended for reliable burns. If you are experiencing unexpected behaviour from the disc, try burning at the lowest speed supported by your burner.
    Last edited by DSpider (2012-11-16 15:13:55)

  • Laptop not booting from UEFI usb drive

    Hi,
    unfortunately I delete the whole hard drive so I'm trying to reinstall it. I'm using a Windows 8.1 UEFI usb drive (successfully used on other computers) but I got the following error on booting:
    No bootable device -- insert boot disk and press any key
    I don't have any selectable options in bios (i.e. legacy / secure boot). My bios version is F1C. It happens with any USB port (I tried them all).
    The same happens with a Windows 7 UEFI usb key.
    It works with a non-UEFI drive but I want to use UEFI...
    Thanks a lot
    riccardo

    There are no Windows 8 or 8.1 drivers for your notebook.
    "It works with a non-UEFI drive but I want to use UEFI..."  Want to and can do don't always work out. 
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Booting from a USB drive

    I have an urgent problem.
    As I had a fatal problem with my orignal MBP It's currently getting repaired. However I have my backup with the latest LION on the timemachine drive!
    I can now use my brothers MBP but he's running Snow Leopard and not Lion!
    Someone gave me the advise to boot from an external USB drive and like this I could use all my saved stuff on my brothers Laptop without bothering his Harddrive at all!
    SO I copied all my stuff to this external USB drive and tried to boot pressing "alt" at the start but my external HD wouldn't show up.
    How can I get this external drive to act as a bootable drive?
    I have the Timemachine Drive and the USB drive connected to the MBP but I can't boot from either the time machine drive nor the USB dirve!
    Please help!!

    You need to partiton and format the drive properly for OS X. You then need to install OS X on the drive using a version that can boot the computer.
    Drive Preparation
    1.  Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select the USB hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Afte formatting has completed quit DU and return to the installer. Complete the OS X installation.
    Once you've installed a working OS X that boots the computer you can then go about the task of restoring your software from your TM backup using the Setup Assistant or using Migration Assistant.

  • How can I boot linux from usb drive and/or dvd drive on a windows 8 laptop please?

    Hi all,
    Could someone describe how to set my windows 8 laptop to boot linux from usb and or dvd drive step by step please? I have HP laptop. Thank you.

    http://www.cisco.com/en/US/prod/collateral/modules/ps6247/prod_qas0900aecd80232483.html
         Q. What sizes of USB Flash sticks are supported?
         A. USB Flash sticks are supported in 64, 128, and 256 MB sizes. No other sizes are supported.
         Q. Can I use any USB memory stick for this application?
         A. No. Only Cisco USB memory sticks are supported.
    Q. Can I boot an image directly from the USB Flash module?
    A. Yes. USB drivers have been added to rommon, starting with version 12.4(13r)
         Q. Can I format the USB Flash module on the router?
    A. Yes. You can format the module on either a router or a PC. You must  specify "FAT16 file system" as the file system for the PC format process  to use.
    If your setup satisfies above conditions you can get the router to boot up with the IOS on the USB flash
    If you are in ROMMON mode, use 'dev' to find out the name of the USB Flash (should be usbflash0).
    set BOOT=usbflash0:
    If you are in the router,
    boot system flash usbflash0:

  • Macbook 2012 not booting from internal drive but booting from external usb drive

    hi everyone!!
    here is what happened:
    i have worked all day on my macbook pro, normally. when i got home and turned it on (i always power it off for rolling with it) it just didn't load the OS.
    i run mavericks on a i7 mid 2012 macbook pro 13". it had an accident on last december and fell on the ground, but i've changed the hdd and it worked normally until last week when this happened.
    i have a copy of my system on a usb drive and tried to start up from it and it worked.
    i took my hdd from inside the lap top and started from it (yes, the same hard disk that was inside the machine) and it worked.
    i took the macbook to an apple store and the "apple genius" that was there started up my machine from inside with another hdd running yosemite that they have in the store for testing.
    today i bought a new hdd and put it in. but i can't format it or install the system. i had these 2 errors on disk utility
    "partition failed with the error: wiping volume data to prevent future accidental probing failed"
    and
    "restore failure an error (32) occurred while copying. (broken pipe)
    so:
    it loads from my internal drive, but only when its connected via usb
    it loaded the apple store drive internally
    it does not format my new drive nor install the system on it
    ANY suggestions, please??? it's really difficult to me to solve this problem...
    thanks a lot!!!

    Must be a bad SATA cable undetected by Apple Techs. A result of the drop but they are also quite fragile.
    Disturbing the cable can cause it to work for a while. Cheap repair at iFixIt.

  • Slow boot from external usb drive

    I just upgraded my daughter's macbook to the latest fixes on her internal drive. I reformatted her external LaCie drive to Mac OS Extended(Journaled) and did a restore. I did notice that there are less files on the internal than the external drive when comparing immediately after the restore. When I try to boot from that drive, it takes 10 minutes to boot the system. It takes about 7 minutes before I even hear any drive activity. In the past this system used to take about 2 minutes to boot at most vs 30 seconds from the internal drive. I have repaired permissions without seeing any effect. I did attach another USB drive that had a copy of her old OSC 10.5.8 image and that booted in less than 2 minutes. Any thoughts on what could be causing the long boot time on the external drive? I have seen comments on GUID formatting. Doesn't that come automatically with Mac OS Extended(Journaled) on an Intel machine? Should I have selected an option when doing the format to specify GUID? I did run a verify Disk as well and the extrnal checked out without any problems.

    +" ... and did a restore ..."+
    How, of what, from where, to where?
    +" ... I have seen comments on GUID formatting. Doesn't that come automatically with Mac OS Extended(Journaled) on an Intel machine? ..."+
    No, it does not happen automatically when you format the drive. GUID is a partition type, not a format. You specify GUID partition scheme at the time you partition the drive. Formatting is a separate operation, occurring after partitioning. Drives that will be used to boot an Intel Mac must be GUID partition scheme and formatted as Mac OS Extended Journaled.

  • Slow boot when an USB-Drive is connected

    Hi,
    I have a very annoying problem: As soon as an USB-drive is connected (hard disk, iPod etc.) to
    my Mac Pro it boots extremly slow (several minutes). If I disconnect the USB-drive during the waiting the booting continues immediatelly. Is there any solution for this behaviour?
    Thank you for answering.

    SWEET its fixed.
    After multiple repairs and w/e
    The last thing I did was verifying my MacBook HDD (right under the *branded HDD*) n I went to bed, and my computer went into hibernation, when I woke up, I tested my computer with every connection 1 by one, than I started plugging them together.
    first just the computer
    firewire
    external monitor
    audio
    usb hub(cooling station)
    kvm switch usb (mouse+keyboard) **Critical**
    firewire+external monitor
    firewire+external monitor +usb hub+kvm switch **Critical**
    c
    the **Critical** area means thats when the computer messes up. slows down or w/e
    I learned not to boot up my computer with my iphone, so I plug my iphone on the cable later.
    anyway my computer I never really troubleshooted a mac until today, the command V, single mode, PR n all that good stuff...I really like the command V. i wish I can login that way everyday cause it looks cool and i can see *** is going on.
    dont forget, use apple+V when rebooting and see if your USBF..etc is having issues.
    If yes, repair our machine and leave it running till battery dies or go to hibernation. good day!
    -- Blen

  • T440 - Problem booting from Win7 USB drive

    Dear Forum I have a wonderful new T440 here and am wishing to load Windows 7 x64 from a bootable usb memory stick, which I've always used and works fine on other computers (tested again this morning).However when I try to boot my T440 from this drive, I can bring up the temporary boot menu and see the usb drive in the list, but when I select it (press enter) the screen just flashes and comes back to the temporary boot menu. IT will not accept my memory stick! I tried with another stick with Win7 on , but got the same problem.   Interestingly I also have a X240 here and this behaves exactly the same.  So I don't think it is the USB Drive and its not the T440. What can I do. Just out of interest I was able to boot from a Windows 8 prepared USB drive... which is great but I don't want to load win8, I need to load win7.    help! Thanks

    Hey, i just bought a new T440p and i have the same issue with booting from a USB.
    Thing is, i already prepared the stick (FAT32), and enabled the secure boot. I read onlinde that with Windows 7 (which I try to install) i shouldnt enable the CSM Support, is that right?
    Are there any other things i need to change in order to boot from the USB?
    thanks in advance
    Noel

  • Booting from same USB drive on multiple computers

    I would like to use a single USB drive to boot on multiple computers (i.e. I can unplug it and plug it into another computer, and it should work fine).
    Right now I have two computers, one with no hard disk (it's an Intel D945GCLF actually) and one with a hard disk as usual. I have set up grub to boot fine from the harddisk-less computer (and that's what I do my work on) but the USB drive cannot boot on the other computer. Grub says it's loading stage 1.5 and then error 2 comes out. I think it's because grub is configured to run from (hd0,0) but, in my other computer, my USB disk is (hd1,0). Does anyone have any ideas, and has anyone successfully used this setup before?
    Thanks.

    If you're computer is having kernel panics there's a conflict; either software or hardware. 2GB of free space isn't enough but I haven't seen anything that suggests KPs are caused by too little free space. Your computer should start fine with 2GB free. It may have problems after a period of use but it would startup and run.
    Try starting in Safe Mode. If successful move some of your files to the external drive and then restart normally. If it KPs again, restart in safe mode and disable all startup items in System Preferences>Accounts>youraccount and restart. If it KPs again go through the linked troubleshooting steps by Dr. Smoke step by step. That's the only way to resole your problem.

Maybe you are looking for