Booting from a USB Drive

2010-11-30 Thread Steve Holmes
I got a new machine which (of course) has Windows pre-installed and I'm not ready to dump it entirely just yet so in the meantime, I built out a complete Arch Linux 64-bit system on a portable USB external drive. I also used or tried to use grub to set it up to boot. During the original settup se

Re: Booting from a USB Drive

2010-11-30 Thread JD Austin
Usually the drive must have more than one partition and grub/lilo on it to fool the OS into treating it like a normal disk. unetbootin works well to create such things: http://sourceforge.net/projects/unetbootin/files/UNetbootin/494/unetbootin-linux-494/download On Tue, Nov 30, 2010 at 03:23, Steve

Re: Booting from a USB Drive

2010-11-30 Thread Stephen
I have an external drive that has the same issue. in my case there is a small "firmware" that resides on the USB-PATA bridge that has about 3-400 MB of stuff on it and mounts as a CD. this definitely fouled all my attempts at booting to the device. On Tue, Nov 30, 2010 at 3:23 AM, Steve Holmes wr

Re: Booting from a USB Drive

2010-11-30 Thread Steve Holmes
That's rather annoying when some drive manufacturer forces us to leave their junk on the drive when we wish to do otherwise with it. Actually, my drive came out of an old laptop and I stuck it inside a portable drive enclosure so I would think we should be able to boot with it. I used grub to make

Re: Booting from a USB Drive

2010-11-30 Thread Stephen
newer machines should be able to boot directly to USB hdd just fine... just never have had a drive that really worked with that. On Tue, Nov 30, 2010 at 9:24 AM, Steve Holmes wrote: > That's rather annoying when some drive manufacturer forces us to leave > their junk on the drive when we wish to

Re: Booting from a USB Drive

2010-11-30 Thread Ed
Around the Holidays it amazes me how many drives need swapping! - just don't forget to image/ghost your Windows drive before putting your favorite distro(s) on it - if the laptop ever needs service, putting it back will save you a ton of grief. Happy Holiday Everyone -

Re: Booting from a USB Drive

2010-11-30 Thread JD Austin
Or better get.. get a newer and bigger drive for the laptop and put the original on a shelf for such times :) On Tue, Nov 30, 2010 at 11:24, Ed wrote: > Around the Holidays it amazes me how many drives need swapping! - just > don't forget to image/ghost your Windows drive before putting your >

Re: Booting from a USB Drive

2010-11-30 Thread Stephen
or for a Foss equivalent look at clonezilla (clonezilla.org) :-) I like it better than ghost anyhow ;-) On Tue, Nov 30, 2010 at 11:24 AM, Ed wrote: > Around the Holidays it amazes me how many drives need swapping! - just > don't forget to image/ghost your Windows drive before putting your > fav

Re: Booting from a USB Drive

2010-11-30 Thread JD Austin
I've used clonezilla before but it has been awhile.. is it faster than just using DD ? On Tue, Nov 30, 2010 at 11:25, Stephen wrote: > or for a Foss equivalent look at clonezilla (clonezilla.org) :-) > > I like it better than ghost anyhow ;-) > > On Tue, Nov 30, 2010 at 11:24 AM, Ed wrote: >

Re: Booting from a USB Drive

2010-11-30 Thread Stephen
it is a collection of tools wrapped around using DD so allot of extra steps are no longer needed. It is very handy On Tue, Nov 30, 2010 at 11:28 AM, JD Austin wrote: > I've used clonezilla before but it has been awhile.. is it faster than just > using DD ? > > > On Tue, Nov 30, 2010 at 11:25, St

Re: Booting from a USB Drive

2010-11-30 Thread Matt Graham
From: JD Austin > I've used clonezilla before but it has been awhile.. is it faster > than just using dd ? partimage/clonezilla are intelligent enough to look at the filesystem and only copy the blocks that are actually in use. dd copies everything. So if the NTFS/FAT/whatever disk is <= 95% fu

Re: Booting from a USB Drive

2010-11-30 Thread Steve Holmes
That answers my question; I was wondering about a good solution that I could backup my windows stuff with. The HP software that comes with the machine is so inaccessible to screen readers, I need another solution for that task. I've heard people mention clonezilla; definitely have to give that a

Re: Booting from a USB Drive

2010-11-30 Thread Steve Holmes
I will probably do that in the future. I got this one on a cheap Black Friday special so isn't a bad machine but I don't wanna void the warrentee by taring into it to change out the drive. That's why I was messing about with this work-around. As an update to my problem, I found out today that gr

Re: Booting from a USB Drive

2010-11-30 Thread Lisa Kachold
If the drive is bootable, it will boot. Check the bios to ensure you have allowed boot from bios, and use spare systems before rebuilding your drive. You should be able to fdisk -l /dev/sdN (or whatever it is) plugged in and verify the boot. You should be able to verify your MBR and GRUB settin

Re: Booting from a USB Drive

2010-11-30 Thread Steve Holmes
The drive boots after all but only as far as grub. I found out earlier today that the grub menu comes up but it fails to find the file systems for booting the actual system. It looks like I will have to rebuild the grub configuration or something. So yes, you're right; the drive should boot and

Re: Booting from a USB Drive

2010-12-01 Thread Stephen
I think it is having trouble with the order of hardware devices. On Tue, Nov 30, 2010 at 11:10 PM, Steve Holmes wrote: > The drive boots after all but only as far as grub.  I found out > earlier today that the grub menu comes up but it fails to find the > file systems for booting the actual syste

Re: Booting from a USB Drive

2010-12-01 Thread Lisa Kachold
Hi Steve! On Tue, Nov 30, 2010 at 11:10 PM, Steve Holmes wrote: > The drive boots after all but only as far as grub. I found out > earlier today that the grub menu comes up but it fails to find the > file systems for booting the actual system. It looks like I will have > to rebuild the grub con

Re: Booting from a USB Drive

2010-12-01 Thread Steve Holmes
Yeah, I'm not sure what to do next. Next time I have someone around to look at my screen, I'll have to get into the grub shell at boot time and see if I can probe available devices and maybe manually force the boot/kernel line and see where it blows. Originally the message was an error code 15 or

Re: Booting from a USB Drive

2010-12-01 Thread Lisa Kachold
It's the Zen of Troubleshooting! The error is the answer. Basically, this means that you might verify that the files exist in the paths setup in Grub? I would just redo it all myself. On Wed, Dec 1, 2010 at 6:00 PM, Steve Holmes wrote: > Yeah, I'm not sure what to do next. Next time I have

Re: Booting from a USB Drive

2010-12-04 Thread Steve Holmes
Well, I have some more progress or updates on this problem. I still can't get the thing to but from the USB external drive but here is what I have so far. Sorry for the lengthy details. 1. I found out that when I start the HP laptop and use the boot menu to choose the USB drive, grub picks up th

Re: Booting from a USB Drive

2010-12-04 Thread Joseph Sinclair
Steve, I would start over with ext3, and this time I would recommend using UUID as the drive identification method, as that method is resistant to the reordering/remapping that you're experiencing (UUID was introduced exactly because modern controllers may reorder drives on boot). ==Joseph++

Re: Booting from a USB Drive

2010-12-06 Thread Steve Holmes
OK, Thanks for the advice. Alas, that still didn't work. What is still happening is the RAMFS boots fine and the final messages shown before it barfs indicate that it found my internal haard drive and its 4 windows partitions. But then it shows /dev/sdb to be a mass storage device but it never s

Re: Booting from a USB Drive

2010-12-06 Thread Lisa Kachold
We have a joint install/hack fest at UAT next Saturday the 11th also? On Mon, Dec 6, 2010 at 9:33 AM, Steve Holmes wrote: > OK, Thanks for the advice. Alas, that still didn't work. What is > still happening is the RAMFS boots fine and the final messages shown > before it barfs indicate that

Re: Booting from a USB Drive

2010-12-06 Thread Dazed_75
Lisa, the 11th IS the "this Saturday" he mentioned. Steve, I cannot speak to your several attempts with Arch and other distros. I can say that if you INSTALL ubuntu to a USB drive (not use a loader with the .iso), then when you get to the end of the partitioning phase there is an advanced button o

Re: Booting from a USB Drive

2010-12-06 Thread Steve Holmes
I'm pretty much doing all that though it is with Arch Linux. What seems to be at the core of the matter is When I use the installation media from CDROM, The internal hard disk, containing original windows partitions, is /dev/sda and the attached USB drive is /dev/sdb; so far so good. The instalat

Re: Booting from a USB Drive

2010-12-06 Thread Matt Graham
From: Steve Holmes [USB drive, GRUB installed on its bootsector] > Now when I boot the machine and choose USB from the BIOS boot menu, > grub starts up but now the USB drive is (hd0) and the internal disk is > (hd1). Now at this point, I get the boot menu with the two Arch > linux entries and aft

Re: Booting from a USB Drive

2010-12-06 Thread Steve Holmes
On Mon, Dec 06, 2010 at 04:27:21PM -0700, Matt Graham wrote: > Does your initrd/ramfs/whatever have the ehci_hcd, scsi_mod, sd_mod, usbcore, > and usb_storage modules available in it? Are those modules loaded? If this > thing was always going to run from a USB drive and I had control over the > k

Re: Booting from a USB Drive

2010-12-06 Thread Dazed_75
On Mon, Dec 6, 2010 at 3:55 PM, Steve Holmes wrote: > I'm pretty much doing all that though it is with Arch Linux. What > seems to be at the core of the matter is When I use the installation > media from CDROM, The internal hard disk, containing original windows > partitions, is /dev/sda and the

Re: Booting from a USB Drive

2010-12-06 Thread Steve Holmes
On Mon, Dec 06, 2010 at 07:26:33PM -0700, Dazed_75 wrote: > Sure, that is why someone told you above to use the UUID to identify the > drive instead of the changeagble /dev/?da type references. Here is a > reference: >https://help.ubuntu.com/community/UsingUUID With this last test, I did use t

Re: Booting from a USB Drive

2010-12-07 Thread gm5729
I have had mixed results with Unbooten (sp). Puppy Liinux has its own USB bootable function once you are on its desktop. Privatix does well making a bootable usb. In the past IIRC it was really just a matter of finding a true .img and doing a dd to that drive. No this is not the same as using an

Re: Booting from a USB Drive

2010-12-08 Thread Steve Holmes
GOOD NEWS!!! I got it working. I can now boot on this external drive without having to jump start from a live cd and chroot or any of that. It seems that my mkinitcpio.conf did not include 'usb' as one of the hooks for building the initial RAMFS image. I figured the RAMFS was failing some how s

Re: Booting from a USB Drive

2010-12-08 Thread Dazed_75
Fantastic! And where did you find this mkinitcpio.conf? Was that in Arch Linux? Did you look in any others (sounds like not yet)? And what did you have to do after adding the usb entry (like remaster an iso, or ...)? Larry On Wed, Dec 8, 2010 at 7:31 AM, Steve Holmes wrote: > GOOD NEWS!!! >

Re: Booting from a USB Drive

2010-12-12 Thread Steve Holmes
In Arch linux, that conf file is found in /etc so /etc/mkinitcpio.conf should do it. I just inserted usb in the list of hook entries just following the autodetect item. You should probably run mkinitcpio but I didn't know the exact parameters I might need so what I did as a lazy Arch Linux user

Re: Booting from a USB Drive

2010-12-12 Thread Dazed_75
Cool. I never had a problem making a bootable installed on USB ubuntu. But I checked for that file anyway and did not find one which is why I asked. On Sun, Dec 12, 2010 at 8:15 PM, Steve Holmes wrote: > In Arch linux, that conf file is found in /etc so /etc/mkinitcpio.conf > should do it. I

Re: Booting from a USB Drive

2010-12-13 Thread gm5729
>   2. Re: computer recycling (Steve Holmes) >   3. Re: Booting from a USB Drive (Steve Holmes) >   4. Re: Booting from a USB Drive (Dazed_75) https://wiki.archlinux.org/index.php/Beginners_Guide#.2Fetc.2Fmkinitcpio.conf This is where reading RTF(ine)M comes in on an intermediae to ad

Re: Booting from a USB Drive

2010-12-13 Thread Ben Trussell
If its a Sandisk Cruzer there is a utility to remove that infernal "CD" mount. check here: http://www.google.com/search?q=sandisk+cruzer+u3+removal http://u3.sandisk.com/launchpadremoval.htm and possibly (possibly) helpful: http://u3-tool.sourceforge.net/ On Tue, Nov 30, 2010 at 7:25 AM, Step

Re: Booting from a USB Drive

2010-12-14 Thread Stephen
its an external usb to 2.5" pata drive enclosure and its a chip built into the usb-sata bridge. most annoying. On Mon, Dec 13, 2010 at 11:45 PM, Ben Trussell wrote: > If its a Sandisk Cruzer there is a utility to remove that infernal > "CD" mount.  check here: > > http://www.google.com/search?q=

Re: Booting from a USB Drive

2010-12-14 Thread Lisa Kachold
On Mon, Dec 6, 2010 at 9:52 PM, Steve Holmes wrote: > On Mon, Dec 06, 2010 at 07:26:33PM -0700, Dazed_75 wrote: > > Sure, that is why someone told you above to use the UUID to identify the > > drive instead of the changeagble /dev/?da type references. Here is a > > reference: > >https://help.