Grub instead of Lilo


Forum: HD Install
Topic: Grub instead of Lilo
started by: wwwolf3004

Posted by wwwolf3004 on May 18 2005,20:35
This has probably been asked before and I just can't find the thread. So I will ask again. If I wanted to install an entry into grub that was already set up by another distro, what would I add to boot DSL from the Hard Drive? Grub I am familiar with but for some reason I always have a hard time getting something that is set up with lilo to boot with grub instead.


Ron

Posted by ke4nt1 on May 18 2005,20:41
Here are my entries into grub..

title DSL
kernel (hd0,1)/boot/isolinux/linux24 root=/dev/hda2 vga=791 quiet noapic nomce
[ add any additional options to the above line e.g. dma toram fromhd=/dev/hda2 ]
initrd (hd0,1)/boot/isolinux/minirt24.gz

73
ke4nt

Posted by wwwolf3004 on May 18 2005,22:24
Quote (ke4nt1 @ May 18 2005,16:41)
Here are my entries into grub..

title DSL
kernel (hd0,1)/boot/isolinux/linux24 root=/dev/hda2 vga=791 quiet noapic nomce
[ add any additional options to the above line e.g. dma toram fromhd=/dev/hda2 ]
initrd (hd0,1)/boot/isolinux/minirt24.gz

73
ke4nt

I have DSL installed. I found /boot/linux24 but I did not find anything else there except system.map-2.4.26 and system.map.
Would the initrd(minirt24.gz) be somewhere else or do I have to create it? Or is it just hidden.


Ron

Posted by wwwolf3004 on May 18 2005,22:29
What I do have is linux24(symbolic link) and miniroot in /? I will give that a try.


Ron

Posted by wwwolf3004 on May 18 2005,22:52
:angry:  Nothing I am doing is working. I am taking a break and trying again in a little while. There has to be a way of getting this to work the way I want it to.


Ron

Posted by ke4nt1 on May 19 2005,01:32
Mine is for a frugal install to hard drive, and not a full hard drive install.

Have you tried the options in the docs?
They describe how-to use grub with a full hdinstall.
< http://www.damnsmalllinux.org/talk/node/135 >

Here is another one I use on my frugal install at home..

title DSL
root (hd0,1)
kernel /boot/isolinux/linux24 root=/dev/hda2 quiet vga=791 dma toram fromhd=/dev/hda2 mydsl=hdd4 restore=hdd4 home=hdd4 opt=hdd4 host=xxxx secure
initrd /boot/isolinux/minirt24.gz
savedefault

73
ke4nt

Posted by SaidinUnleashed on May 19 2005,01:35
< Dock. You. Men. Tay. Shun. >
Posted by mikshaw on May 19 2005,01:38
Here's what i have...Grub was installed with Suse 9.0 on hda:

title Damn Small Linux
   kernel (hd0,3)/boot/isolinux/linux24 root=/dev/hda4 dsl restore=hda3 noicons base vga=791 dma
   initrd (hd0,3)/boot/isolinux/minirt24.gz

title DSL-XFree86
   kernel (hd0,3)/boot/isolinux/linux24 root=/dev/hda4 dsl restore=hda1 noicons base vga=791 dma
   initrd (hd0,3)/boot/isolinux/minirt24.gz

title DSL-clean
   kernel (hd0,3)/boot/isolinux/linux24 root=/dev/hda4 dsl norestore base vga=791 dma
   initrd (hd0,3)/boot/isolinux/minirt24.gz

title DSL-textmode
   kernel (hd0,3)/boot/isolinux/linux24 root=/dev/hda4 dsl norestore base vga=794 dma 2
   initrd (hd0,3)/boot/isolinux/minirt24.gz

Posted by ke4nt1 on May 19 2005,02:37
What version of grub is that..?

Seems some of the newer ones have a littel different syntax.
Notice mine has no (hd0,3) in front of the kernel or initrd.
Only the root line..

73
ke4nt

Posted by SaidinUnleashed on May 19 2005,04:08
You can do it either way.

But it's shorter/easier to declare root (hdX,Y)

Posted by mikshaw on May 19 2005,04:11
0.93
I don't know if the device name is necessary...it was extended from what was already in the file.

Also, i don't think my xfree line works, if i remember correctly.  I never finished configuring that one.  I think it should be mydsl=hda1 instead of base.

Posted by SuperLou on May 25 2005,21:49
I was able to boot into DSL using SU's tutorial in the talk nodes.  I ran the grub.dsl but when I preform grub-install /dev/hda i get the error: :Not found or not a block device.  I know absolutely nothing about grub or lilo, but grub was able to load the mydsl packages during boot that are in a differente partition than the DSL image.  Is there a way for me to install the files by hand?

Thanks,
Louis

Posted by darksoul on May 27 2005,13:57
OK, so I have managed to choose between Ubuntu and DSL at boot (HDInstall version), but now DSL won't startx. I get the message that a "peer has changed permissions" and to "check xsetup.sh" and it kicks me back to the command line.

I suspect that it might have something to do with having to use fb1024x768 boot option, but even when I add that option to grub - nothing.

I have tried root and dsl logins to no avail.

Any ideas???

Posted by Fox7777 on June 02 2005,22:22
We did the hard drive install of DSL 1.0.1 which included installing the Lilo boot loader. We would prefer to use Grub instead. We downloaded Grub from apt-get but can't find a way to make it repalce Lilo. Can this be easily done without creating problems? If not, how do we get into Lilo to edit it?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.