Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am a Windows Vista user and i would like to go over to a linux-based system. i fell on to Fedora and i am currently downloading a dvd-copy.
My question is: how can i install grub or grub2? I am not an expert in the matter and am willing to learn.
When trying to research on the internet, grub is explained but a simple step by step guide for Windows-users is not present.
Anyway, i am still intrigued by the way to do this manually? Do i need to make a bootable cdrom or can i do this from within the windows platform?
Please advice.
Sincerely,
I'm not really sure to be honest, and I'm not sure why you'd want to! After you've installed Fedora, if you've chosen not to install GRUB (if it gives you the choice), you can probably boot from the CD and use "rescue mode" (or the equivalent) to install GRUB. Other than that, perhaps the Fedora live CD has the grub-install program and you can use that, but again, I'm not sure about this.
FIRST
Fedora 9 is not meant / geared for the NEW Linux user depending on your hardware fedora 9 may not install or run without some "Fixing"
do you have a Vista install dvd a real install disk and not a "rescue" disk from the manufacture incase something goes wrong .
you will need to use the Windows vista tool to resize and repartition the vista disk ( this might KILL vista) .
FIRST
Fedora 9 is not meant / geared for the NEW Linux user depending on your hardware fedora 9 may not install or run without some "Fixing"
do you have a Vista install dvd a real install disk and not a "rescue" disk from the manufacture incase something goes wrong .
you will need to use the Windows vista tool to resize and repartition the vista disk ( this might KILL vista) .
You are talking about repartitioning the harddrive. I presume this is to create a new partition for the fedora platform?
Which tool in vista you are talking about and why would it kill vista?
I am not interested in installing grub into the MBR, as i have read some articles that do not advice this option. instead i could install it to the windows partition?
Is there a possibility to backup first the current boot options??
I have already found all of my answers in here. Thank you!
The only thing i need to know now is how to manually install grub legacy or grub 2 from scratch, presuming on,ly windows vista is installed.
Please advice.
-- WARNING --
I do not recommend using GRUB to boot a vista ONLY box , so when you FUBAR it don't ask me to fix a vista only box
Quote:
I am not interested in installing grub into the MBR, as i have read some articles that do not advice this option. instead i could install it to the windows partition?
This IS the MBR if you PUT THE LINUX GRUB ON THE WINDOWS PARTITION , grub requires a nix partition to run
---------------
put the fedora dvd into the drive and reboot
go into rescue mode (9 fallow the on screen}
and after you do
Code:
chroot /mnt/sysimage
--- then run ---
grub-install /dev/sda
maybe or maybe not , most likely NOT the system will boot .
BUT most likely you will have a brick
-- WARNING --
I do not recommend using GRUB to boot a vista ONLY box , so when you FUBAR it don't ask me to fix a vista only box
This IS the MBR if you PUT THE LINUX GRUB ON THE WINDOWS PARTITION , grub requires a nix partition to run
---------------
put the fedora dvd into the drive and reboot
go into rescue mode (9 fallow the on screen}
and after you do
Code:
chroot /mnt/sysimage
--- then run ---
grub-install /dev/sda
maybe or maybe not , most likely NOT the system will boot .
BUT most likely you will have a brick
I don't believe the grub-install command will work as you give it, because that tells Grub to install into the MBR of sda but look for its files in whatever partition you run that command from, which is the Fedora DVD. I believe the correct syntax is:
Code:
grub-install --root-directory=/dev/sdaX /dev/sda
That will install Grub to the MBR and point it to partition sdaX for all its system files, including menu.lst/grub.conf. The grub-install command does not create a menu.lst/grub.conf though, but you can do that with the "update-grub" command (but you should be chrooted into the linux partition).
Also, I'm curious why you are so against using Grub to boot Vista? The Vista MBR merely chain loads whichever primary partition on the hard drive is marked active, i.e. has its boot flag set. Grub is perfectly capable of chain loading the Vista partition, and I have many friends who use Grub to boot Vista with ease. Why do you think Grub will "brick" Vista?
if you want to install grub manually you will have to setup your system to compile from source.
which means install all the basic dev packages.. that is if you plan on compiling.
then you will need to get the dependencies for things like fat32 reiser, and maybe others for other modules.
once you compile and install.. which requires you to have root access to actually install..
then you run
grub-install --root-directory=/ /dev/sda
/dev/sda is your drive and you do not point it to the partition that is why you do not see a 1 or 2 or what ever next to the sda.
the root directory should stay like it is and you should have a folder called boot in the root of your drive and inside there, there should be a folder called grub.
/boot/grub
once you do that, then you have to configure the grub.cfg in the /boot/grub folder. then your done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.