[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using different root option in alternate kernel option in grub



2009/1/22 Micha Feigin <michf@post.tau.ac.il>:
> I'm trying the setup my grub menu.lst to automatically setup two alternate
> kernel options
> 1. using nfsroot so it needs to have root=/dev/nfs
> 2. boot localy so it needs to have root=/dev/sda1
>
> so I tried to set
> KOPT=ro
> defoptions=root=/dev/nfs
> altoptions=root=/dev/sda1

>From a quick google, altoptions looks to support adding options to the
kopt line.

What I'd do is create a grub boot stanza and try point it to the
vmlinuz symlinks in /
This should pickup the new kernel each time.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


Reply to: