|
Fw: Grub Solution for Sysroot build: msg#00004linux.lfs.clfs.devel
Harvey Muller wrote: >2. Prepare grub boot medium. The grub manual gives directions for preparing >a grub boot disk from floppy, and cdrom. I >elected to use a spare flashdrive >that wasn't busy, as I am able to boot from USB. This is how I did it. > > a. Identify device, block count, and size of USB flashdrive. I used a 128M > sized model because I didn't have anything >smaller. Insert the flashdrive > into a running linux system (used LiveCD) with a terminal open. Note the > block count and >size. Once the device settled I learned that my particular > device reported as sda, had 254208 blocks at 512 bytes each. > > b. Use dd to zero out the flashdrive. Using the above information these > are the commands I used: > > dd if=/dev/zero of=/dev/sda I didn't catch this until after I hit 'send'. The dd command in full, was this: dd if=/dev/zero of=/dev/sda bs=512 count=254208 The first command would still work, but the corrected command above is cleaner. ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Grub Solution for Sysroot build: 00004, Harvey Muller |
|---|---|
| Next by Date: | stupid question: 00004, kriss |
| Previous by Thread: | Grub Solution for Sysroot buildi: 00004, Harvey Muller |
| Next by Thread: | stupid question: 00004, kriss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |