Re: [expert] LILO v GrUB

2003-08-01 Thread Avi Schwartz
Let me add one more thing about Grub that many people are not aware of. 
 Grub has a shell-like interface which you can bring up when the Grub 
menu appears.  From this shell you can search for kernels on your 
drives, set the root partition and kernel to boot from and then boot 
into you new setup on the fly.  This means that even if you screw up 
that text file, you can still boot into your system without resorting 
to booting from a CD.

Avi

On Friday, Aug 1, 2003, at 13:55 America/Chicago, James Sparenberg 
wrote:

On Fri, 2003-08-01 at 10:03, Felix Miata wrote:
Anne Wilson wrote:

As for lilo and grub - I've never even tried grub, since lilo works
fine for me.
I use GrUB because of its simplicity. Configuring means simply 
editing a
text file. Nothing to run afterwards. This makes chroot on rescue 
boots
unnecessary, which makes explaining rescue over the phone or email 
much
easier.
Now that is the first real reason I've heard for the grub advantage 
(the
chroot part.)  hm.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] LILO v GrUB

2003-08-01 Thread James Sparenberg
On Fri, 2003-08-01 at 10:03, Felix Miata wrote:
> Anne Wilson wrote:
>  
> > As for lilo and grub - I've never even tried grub, since lilo works
> > fine for me.
>  
> I use GrUB because of its simplicity. Configuring means simply editing a
> text file. Nothing to run afterwards. This makes chroot on rescue boots
> unnecessary, which makes explaining rescue over the phone or email much
> easier.

Now that is the first real reason I've heard for the grub advantage (the
chroot part.)  hm.  

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] LILO v GrUB

2003-08-01 Thread Rolf Pedersen
Felix Miata wrote:
Anne Wilson wrote:
 

As for lilo and grub - I've never even tried grub, since lilo works
fine for me.
 
I use GrUB because of its simplicity. Configuring means simply editing a
text file. Nothing to run afterwards. This makes chroot on rescue boots
unnecessary, which makes explaining rescue over the phone or email much
easier.

Another capability of grub that, afaik, does not come with lilo is 
command line completion from the grub prompt, allowing you to suss out 
partitions, kernels, etc. on a completely unknown system and boot from a 
grub floppy, e.g:

grub> root (hd  [Tab]
 Possible disks are:  hd0 hd1 hd2 hd3
grub> root (hd3,  [Tab]
 Possible partitions are:
   Partition num: 0,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 4,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 5,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 6,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 7,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 8,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 9,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 10,  Filesystem type is reiserfs, partition type 0x83
grub> root (hd3,7)  [Enter]
Filesystem type is reiserfs, partition type 0x83
grub> kernel (hd3,7)/boot/  [Tab]
 Possible files are: map initrd-2.4.21-0.18mm-mdk.img grub 
memtest-3.0.bin System.map-2.4
.21-0.17mdkcustom kernel.h-2.4.21-0.17mdk config-2.4.21-0.17mdk 
message-graphic System.ma
p vmlinuz-2.4.21-0.17mdk message System.map-2.4.21-0.18mm-mdk 
kernel.h-2.4.21-0.18mm-mdk
config initrd.img System.map-2.4.21-0.17mdk vmlinuz-2.4.21-0.18mm-mdk 
vmlinuz.old us.klt
kernel.h-2.4.21-0.17mdkcustom vmlinuz-2.4.21-0.17mdkcustom 
config-2.4.21-0.18mm-mdk vmlin
uz message-text initrd-2.4.21-0.17mdk.img 
initrd-2.4.21-0.17mdkcustom.img kernel.h boot.2
208 config-2.4.21-0.17mdkcustom

grub> kernel (hd3,7)/boot/vmlinuz  [Enter]
[Linux-bzImage, setup=0x1400, size=0x134a74]
grub> initrd (hd3,7)/boot/  [Tab]
 Possible files are: map initrd-2.4.21-0.18mm-mdk.img grub 
memtest-3.0.bin System.map-2.4
.21-0.17mdkcustom kernel.h-2.4.21-0.17mdk config-2.4.21-0.17mdk 
message-graphic System.ma
p vmlinuz-2.4.21-0.17mdk message System.map-2.4.21-0.18mm-mdk 
kernel.h-2.4.21-0.18mm-mdk
config initrd.img System.map-2.4.21-0.17mdk vmlinuz-2.4.21-0.18mm-mdk 
vmlinuz.old us.klt
kernel.h-2.4.21-0.17mdkcustom vmlinuz-2.4.21-0.17mdkcustom 
config-2.4.21-0.18mm-mdk vmlin
uz message-text initrd-2.4.21-0.17mdk.img 
initrd-2.4.21-0.17mdkcustom.img kernel.h boot.2
208 config-2.4.21-0.17mdkcustom

grub> initrd (hd3,7)/boot/initrd.img  [Enter]
[Linux-initrd @ 0x3bc000, 0x338cb bytes]
grub>

You can add kernel commands and boot with boot.

Not a common need but still neat.  More commonly useful is the 
capability to edit from the menu screen, which I have used when a 
partition change or unusable kernel left the system unbootable from the 
old menu.  Tom Berger wrote a page about grub's capabilities here: 
http://www.mandrakeuser.org/docs/install/iboot2.html

Rolf


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] LILO v GrUB

2003-08-01 Thread Felix Miata
Anne Wilson wrote:
 
> As for lilo and grub - I've never even tried grub, since lilo works
> fine for me.
 
I use GrUB because of its simplicity. Configuring means simply editing a
text file. Nothing to run afterwards. This makes chroot on rescue boots
unnecessary, which makes explaining rescue over the phone or email much
easier.
-- 
"A fool gives full vent to his anger, but a wise man keeps himself
under control."Proverbs 29:11
NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com