fasadunion.blogg.se

Install grub on usb flash drive to boot hard drive
Install grub on usb flash drive to boot hard drive






  1. INSTALL GRUB ON USB FLASH DRIVE TO BOOT HARD DRIVE HOW TO
  2. INSTALL GRUB ON USB FLASH DRIVE TO BOOT HARD DRIVE SOFTWARE

You may want to organize your boot folder differently, but make sure that you change the corresponding paths and directory names in GRUB’s menu.lst file. Under the boot folder, I created a directory named grub for GRUB-related files, images which are initial ramdisk (initrd), floppy, or disk images, and finally kernels to hold all the kernels. On my USB flash memory key, I created a root folder named boot to hold all the data necessary for USB booting (see figure 2). You could create two partitions, but I couldn’t get both partitions to load correctly when I inserted the key back into Windows. Finally, I tried using GRUB and I was up and running with DSL in no time!įirst, I recommend creating a directory structure to organize your boot-related files, and keep them separate from any other files you’d like to keep on the USB flash memory key. The DSL documentation pointed towards installing via syslinux and reconfiguring the cylinder/head/sector information of my JumpDrive, but I didn’t have any luck trying to get my USB flash memory key to boot successfully.

INSTALL GRUB ON USB FLASH DRIVE TO BOOT HARD DRIVE HOW TO

After seeing an advertisement on their website for a USB flash memory drive with DSL installed, I figured I could probably learn how to set DSL up myself on my Lexar 256 MB JumpDrive. I got the inspiration for this article after trying DSLinux (or DSL), which is a fully graphical Linux distribution weighing in around 50 MB. Installing GRUB on a USB flash memory key Figure 1: you can run GRUB on a USB flash memory key! In addition, GRUB can work on other forms of bootable storage, such as CD-R/W, USB flash memory keys, floppy disks, and even via a TFTP server with PXE ROM booting. The benefit of GRUB is that it will work in many different types of boot devices, but you only need to learn one set of menu commands. Alternatives to GRUB include LILO, syslinux and isolinux.

INSTALL GRUB ON USB FLASH DRIVE TO BOOT HARD DRIVE SOFTWARE

So why use GRUB when there are other options out there? The beauty of free software is that you have choices. However, the command-line option is still available in case there is an error in your configuration file. GRUB optionally loads its configuration file at run/boot time, so you don’t have to type in commands manually each time. Not only does this reduce execution time, but it saves valuable resources when running from removable media. GRUB works in a modular, layered fashion so that any unneeded modules are not loaded. Introductionįirst, what exactly is GRUB? GRUB is a boot loader, which means it passes control of the boot process from the Power-On Self Test (POST) to the kernel of your GNU/Linux distribution. Combined with a few other utilities, GRUB can be a powerful and good-looking tool for your home, organization or workplace. It is short-sighted to view GRUB only as a boot loader to be installed on a hard drive of a GNU/Linux system. It also can function as a boot loader for removable media such as floppies, CD-R/W and USB flash memory keys. One advantage is not having to remember to run /sbin/lilo every time you make a configuration change. It includes some conveniences over LILO, the LInux LOader. The GRand Unified Boot loader, or GRUB, has all but replaced the default boot loader on many GNU/Linux distributions.








Install grub on usb flash drive to boot hard drive