Grub HelpForum: HD Install Topic: Grub Help started by: Fhqwhgads Posted by Fhqwhgads on Aug. 07 2005,07:16
Ok so I installed DSL on a second hard drive, and it installed grub for the boot loader. Now I have no idea at all how grub works, and it might be nice to get on my windows os. My Windows is on hda DSL is on hdb so if someone could help me figure out how to grub works, that'd be great! Posted by mikshaw on Aug. 07 2005,13:53
In /boot/grub/menu.lst:title Windows chainloader(hd0,0)+1 This assumes that by "hda" you mean "hda1". If it were hda2, the chainloader would point to hd0,1. "Chainloader" is a redirection to the bootloader of another operating system. Posted by Fhqwhgads on Aug. 07 2005,16:08
I don't really have access to any permanent files becuase, it just loads grub up, and no OS or anything. Becuase I don't know how to boot any OS through grub. I have to boot up DSL ever time through the cd.I think I figured it out, I just need to get the path were the WindowsXP kernel is and where the DSL kernel is. I went to Grub's website and this is what it said to do... Set the harddrive by doing the root command Select the Kernel through the kernel command Then use the boot command. So I just need to the location of the kernels so I can boot them. Posted by Multitudes on Sep. 19 2005,19:38
I need a little grub help as well:I have a notebook with one hd with two partitions: The first is FAT, the other is NTFS. WinXP is installed on the second partition with ntloader on the first. Is there a way to do a grub/frugal installation and maintain the possibility to boot WinXP? TIA Multitudes Posted by petit982 on Sep. 20 2005,07:00
Oh yes: you can do a frugal installation and keep your XP alive.To do this follow theese simple steps: - make a standard frugal installation (that one with lilo... don't worry if you can't temporary access to your XP partiton...it's normal...) - start DSL - download extension grub.dsl with mydsl - download the frugal_grub.sh script from the "download" section of DSL site (download the scripd in the same dir of grub.dsl extension) - run the rugal_grub.sh script (with the DSL-live-CD inserted and configure Grub for the XP partition [automatical configuration procedure]) As for a magic..... Grub is installed in 2 minuts!! And your files (old DSL backups, home, etc) are saved thank's to the first frugal installation (the first step I supposed....) Bye and a BIG thanks to the DSL developers for the great job they do for us!! Posted by Multitudes on Sep. 20 2005,22:12
I'll give it a go.I'm just preparing for the install. Would'nt it be possible just to use the frugal_grub script? Partitioning: hda1: linux hda2: linux swap hda3: winxp I will install xp and see if I am able to pick up xp from grub's chainloader. Thanks for you help Multitudes Posted by Multitudes on Sep. 21 2005,03:55
It works fine!DSL frugal/grub installed just fine. The only annoyance is that I have to boot the LiveCD in order to edit my grub configuration. But I can easily live with that. Thanks Multitudes Posted by mikshaw on Sep. 21 2005,04:57
You shouldn't have to do that. If you boot with the frugal option, you should be able to edit /cdrom/boot/grub/menu.lst.You should also be able to temporarily edit grub entries by selecting an entry at boot time, and pressing "e" to edit Posted by doobit on Sep. 22 2005,16:28
menu.lst in your /boot/grub directory may be RO in a frugal install. Open Beaver as root in the terminal and then open the menu.lst to edit as root.
Posted by Multitudes on Sep. 22 2005,20:37
@doobit:Just checked: You are right! What have I been thinking, the directory is only manipulateable by root so naturally user dsl has insufficient rights. Now I'll be on my way and customizing my grub configuration to optimum performance. Thanks for your input! Multitudes Posted by mikshaw on Sep. 23 2005,05:40
Just for future reference, in practically all situations you should assume that you need root power to edit anything outside of your personal home directory. In DSL, you also have rights on some files in /opt, but this is uncommon.
|