On 5/7/05, Timothy Murphy <tim@xxxxxxxxxxxxxxxxxxxxxx> wrote: > azeem ahmad wrote: > > >> > i have a new hard disk without any OS or Bootloader. i want to install > >>GRUB > >> > bootloader on this new harddisk. but i only want GRUB (bootloader) to > >> > be installed on this harddisk. i dont want an operating system with > >> > GRUB. how i can make it > >> > >>As the name bootloader implies it is meant to start some operating > >>system at boot time. What is the reason for this question? > > > i m doing it for just studying purpose. i got your point but the question > > is how to store/install GRUB on this harddisk. is it like an rpm or i have > > to get some software and to compile it. > > grub consists of several parts - the actual boot-loader, > and one or two files that this points to, > which need not be on the same disk. > > Assuming you are running Linux, you could say > "grub-install /dev/hdb" (substituting the disk you are using for hdb). > > Then you could look at what you have created with > dd if=/dev/hdb of=myboot bs=512 count=1 > GRUB fits on a floppy, if you remember them. You may not need to use a hard disk for it at all.