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

using different root option in alternate kernel option in grub



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

The regular option works great but the altoptions ignores the root=... and only
uses the rest of the line.

Is there any way to achieve what I want without tweaking the results after each
kernel upgrade?


Reply to: