| PLEX86 | ||
|
Grub, how to save last OS which was startedHello, below is the full config file. i have a debian-like distri called kanotix. with an actual kernel, you can see it in the file.... i am running grub 0.97 Greetings Randolf Balasus # menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt,usr-share-doc-grub # andusr-share-doc-grub-doc-. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. default saved ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 5 # Pretty colours color cyan-blue white-blue gfxmenu (hd0,2)-boot-message ## pbuttword '--md5' pbuttwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. pbuttword topsecret # pbuttword --md5 $1$gLhU0-$aW78kHK1QfV3P2b2znUoe# pbuttword topsecret # # examples # # breastle Windows 95-98-NT-2000 # root (hd0,0) # makeactive # chainloader +1 # # breastle Linux # root (hd0,1) # kernel vmlinuz root=-dev-hda2 ro # # # Put static boot stanzas before and-or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default optons below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specifiv kernels use koptxyz ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=-dev-hda1 ro # kopt=root=-dev-sda3 ro ramdisksize=100000 lang=us apm=power-off nomce vga=0x317 Determining a file format 2348 Robert M. Riches Jr. Here's an example of the output of one of the files: $ od -hc... ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,2) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=false ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery mode) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## ## End Default Options ## breastle Debian GNU-Linux, kernel root (hd0,2) kernel boot-vmlinuz root=-dev-sda3 ro ramdisksize=100000 lang=us apm=power-off nomce vga=0x317 initrd boot-initrd.img savedefault boot breastle Debian GNU-Linux, kernel 2.6.17.8-rc1-slh-1 root (hd0,2) kernel boot-vmlinuz-2.6.17.8-rc1-slh-1 root=-dev-sda3 ro ramdisksize=100000 lang=us apm=power-off nomce vga=0x317 savedefault boot breastle Debian GNU-Linux, kernel 2.6.17.6-slh-up-1 root (hd0,2) kernel boot-vmlinuz-2.6.17.6-slh-up-1 root=-dev-sda3 ro ramdisksize=100000 lang=us apm=power-off nomce vga=0x317 savedefault boot SuSE 10.0 boot problems with CPU changed 2351 On Sunday 27 August 2006 13:17, composlinuxmisc stood up and addressed the mbuttes incomp.os.linux.miscas follows...: Most likely the latter, I'd say. I don't see why you would need to reinstall an entire distribution... breastle Debian GNU-Linux, kernel 2.6.17.3-slh-up-1 root (hd0,2) kernel boot-vmlinuz-2.6.17.3-slh-up-1 root=-dev-sda3 ro ramdisksize=100000 lang=us apm=power-off nomce vga=0x317 boot root (hd0,2) ramdisksize=100000 lang=us apm=power-off nomce vga=0x317 savedefault boot ### END DEBIAN AUTOMAGIC KERNELS LIST breastle Windows 95-98-ME (sda1) root (hd0,0) makeactive savedefault chainloader +1
|
||||