LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2004, 09:02 PM   #16
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30

Here is a copy of my /boot/grub/menu.lst file. I'm posting it for you because it came with a Libranet install, and I noticed that it gives more information than the one generated by Yast. It also gives some examples you might be able tofollow. Also, the entry for Windows works for me so maybe it will work for you..

# /boot/grub/menu.lst - See: grub(8), info grub, update-grub(8)
# -------------------- grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/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.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 15

# Pretty colours
color cyan/blue white/blue

# Display a splashscreen
splashimage (hd0,4)/boot/splash.xpm.gz
foreground bbbbbb
background 000000

## password ['--md5'] passwd
# 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. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title 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
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hdb6 ro hdd=scsi

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,5)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## 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=(single user 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 ##

title Slackware, kernel 2.4.26
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 ro hdd=scsi
savedefault
boot

title Libranet GNU/Linux, kernel 2.4.20 (single user mode)
root (hd1,5)
kernel /boot/vmlinuz-2.4.20 root=/dev/hdb6 ro hdd=scsi single
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

title Windows on /dev/hda1
rootnoverify (hd0,0)
makeactive
chainloader +1

####title Memory Test
####root (hd1,5)
####kernel /boot/memtest86.bin
 
Old 08-17-2004, 09:50 PM   #17
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks to all that have replied to help.

I think I finally got it to work.

Since I just installed both, I uninstalled everything and started over. IT worked.
 
Old 09-10-2004, 07:46 AM   #18
Kokuyo
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
That was to be expected... your fdisk output told me (but I'm no guru so that might just have been completely wrong ) that your partitions were... well f*cked. Reinstalling the whole thing was the best you could do... well reinstalling windows might have worked as well but then you would have had to CD boot to reinstall grub.


By the way: Chainloader means that GRUB will not try to load a kernel image itself but will redirect the boot process to the MBR of another partition so that Windows can boot as if nothing happened. At least that's the way I understood it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem booting Windows w/ GRUB...tried lots already jagibbs Linux - General 8 04-25-2005 12:22 AM
Problem dual-booting into windows xp with Grub justintime32 Debian 4 03-26-2005 12:27 PM
Problem with GRUB booting Windows 98 bleedingturnips Linux - Software 0 06-15-2004 09:35 AM
GRUB windows xp not booting mirage Linux - Newbie 2 05-14-2003 02:10 PM
booting windows xp with grub! help!! fisch79 Linux - Software 1 02-20-2003 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration