Re: New Grub user?

2004-10-02 Thread Don Jackson
On Saturday 02 October 2004 11:11 am, Edward Shornock wrote:
> Kenward Vaughan wrote:
> >Try this link.  It was just the thing for me.
> >
> >http://www.linuxjournal.com/article.php$sid=4622
>
> Try this link, the non-404 version. :)
>
> http://www.linuxjournal.com/article.php?sid=4622

Another nice resource is:

http://www-128.ibm.com/developerworks/edu/l-dw-linuxgrub-i.html

I found it very helpful to a newbie.  The author walks you through the steps 
of exploring and using GRUB.  You must "register" for the site, but it is 
free (and I've never received any spam as a result).

Don


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-02 Thread Edward Shornock
Kenward Vaughan wrote:
Try this link.  It was just the thing for me. 

   http://www.linuxjournal.com/article.php$sid=4622
 

Try this link, the non-404 version. :)
http://www.linuxjournal.com/article.php?sid=4622
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-02 Thread Hugo Vanwoerkom
Kenward Vaughan wrote:
On Fri, Oct 01, 2004 at 11:31:28AM -0400, Robert Harris wrote:
Try this link.  It was just the thing for me. 

http://www.linuxjournal.com/article.php$sid=4622

Linux Journal: File Not Found

Kenward

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-01 Thread Kenward Vaughan
On Fri, Oct 01, 2004 at 11:31:28AM -0400, Robert Harris wrote:
> I just installed my first system from the new Sarge installer (rather
> nice) and noticed I have Grub instead of lilo.  I've read the man
> pages and it's a bit different than I'm used to.  Does anyone have a
> very simple step by step to add a kernel (vmlinuz.old) so I can backup
> my current kernel then put a new one in /vmlinuz or something similar?
>  I need to put some new drivers in and really don't want to reinstall
> because I screwed up the kernel.  The Grub docs are a bit overwelming
> for my needs right now.

Try this link.  It was just the thing for me. 

http://www.linuxjournal.com/article.php$sid=4622


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-01 Thread cr
On Sat, 02 Oct 2004 03:31, Robert Harris wrote:
> I just installed my first system from the new Sarge installer (rather
> nice) and noticed I have Grub instead of lilo.  I've read the man
> pages and it's a bit different than I'm used to.  Does anyone have a
> very simple step by step to add a kernel (vmlinuz.old) so I can backup
> my current kernel then put a new one in /vmlinuz or something similar?
>  I need to put some new drivers in and really don't want to reinstall
> because I screwed up the kernel.  The Grub docs are a bit overwelming
> for my needs right now.

Actually installing the new kernel is nothing to do with Grub (maybe someone 
else here can advise you on how to do that). In fact, AFAIK, the kernels 
don't care if you use GRUB or LILO (and GRUB / LILO don't care what kernel 
you're using, they'll boot anything you tell them to (well, almost).   

Editing GRUB to boot another kernel is actually quite simple:
All you need to do is add another entry in the /boot/grub/menu.lst file  
(which is _usually_ in the first partition of the first hard drive, unless 
Grub has been set to use a /boot/grub/menu.lst somewhere else).

menu.lst is a simple text file, you can add another entry with a text editor 
- just copy the existing entry and alter it as required.

Example from my menu.lst:

title   Debian GNU/Linux, kernel bf2.4   on  /hda1
root(hd0,0)
kernel  /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hda1 hdb=ide-scsi ro
savedefault

title   Fedora Core 1 on /hda2
root(hd0,1)
kernel  /boot/vmlinuz  root=/dev/hda2  hdb=ide-scsi  ro
savedefault

'title' can be anything you like
'root' points GRUB at the partition your kernel is in  (in GRUB addressing 
terms which are drive no, partition no (starting at 0)
'kernel' points to your Linux kernel (or to a symlink) - the  'root' 
parameter on the 'kernel' line is passed to the Linux kernel so it 'knows' 
where it is and doesn't get a 'kernel panic' when it can't find itself.   

Read your menu.lst for what suits your installation.   Just keep the old file 
and you can always put it back if your new one screws up.   

If you have a GRUB boot floppy, make a note on paper of what your menu.lst 
says, then if all screws up you can get back in by floppy-booting GRUB, hit 
'c' (IIRC) to get the GRUB prompt, then type in by hand the 'root' and 
'kernel' lines followed by the command 'boot'.

cr


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-01 Thread Bill Marcum
On Fri, Oct 01, 2004 at 11:31:28AM -0400, Robert Harris wrote:
> I just installed my first system from the new Sarge installer (rather
> nice) and noticed I have Grub instead of lilo.  I've read the man
> pages and it's a bit different than I'm used to.  Does anyone have a
> very simple step by step to add a kernel (vmlinuz.old) so I can backup
> my current kernel then put a new one in /vmlinuz or something similar?
>  I need to put some new drivers in and really don't want to reinstall
> because I screwed up the kernel.  The Grub docs are a bit overwelming
> for my needs right now.
> 
I just installed grub on one of my computers.  There is a script called
update-grub which searches for kernels and adds them to menu.lst.


-- 
System Events 
=-=-=-=-=-=-= 
Sep 16 03:31:11 don kernel: lp0 on fire


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-01 Thread Andrea Vettorello
On Fri, 1 Oct 2004 15:01:14 -0400, Robert Harris
<[EMAIL PROTECTED]> wrote:
> If I modify the menu.lst or just change/replace a kernel, do I have to
> run a command like you do with "lilo" ?
> 

Usually no, but this if you don't modify the path or name of your
kernel (i.e. using the vmlinuz link you find on your root). But even
if something bad happen, you can modify the boot options, like kernel
path/name or kernel options, at the grub boot screen.


Andrea


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New Grub user?

2004-10-01 Thread Paul Johnson
<#secure method=pgp mode=sign>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Harris <[EMAIL PROTECTED]> writes:

> I just installed my first system from the new Sarge installer (rather
> nice) and noticed I have Grub instead of lilo.  I've read the man
> pages and it's a bit different than I'm used to.  Does anyone have a
> very simple step by step to add a kernel (vmlinuz.old) so I can backup
> my current kernel then put a new one in /vmlinuz or something similar?

Check out /boot/grub/menu.lst
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBXbUXUzgNqloQMwcRAnppAKCU3sBtdkskUn+o1KCuQTvxwSmgYwCgqzAW
/noY818pBfXUJSIjd5Df3k0=
=E8OD
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]