LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-15-2007, 05:35 AM   #1
alokagrawal
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Rep: Reputation: 15
bootin knoppix


hello frnds,
i have installed knoppix & windows xp in my system,windows is in hda1 & knoppix in hda7 & hda9(swap,/).But i have problem in booting knoppix,Whenever i tried to boot linux i get message file is missing.I have window based grub,configuration
of my bootloader file is give below


# Sample boot menu configuration file
#

# Boot automatically after a minute.
timeout 60

# By default, boot the second entry.
default 1

# Fallback to the first entry.
fallback 0

title Windows XP
unhide (hd0,1)
rootnoverify (hd0,1)
chainloader +1

# For booting Linux
title knnopix
root (hd0,9)
kernel /boot/vmlinuz root=/dev/hda8 ro ramdisk_size=100000 lang-us apm=power-off nomce vga=781
initrd /boot/initrd.img
savedefault
boot
please help me and get me out of this trouble
alok agrawal
 
Old 01-15-2007, 05:50 AM   #2
crazyjimbo
Member
 
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90

Rep: Reputation: 16
I seem to remember grub being funny with drive numbers. I think you need to use (hd0,8) to specify hd9 (i.e. one number less).

Good luck
 
Old 01-15-2007, 06:31 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
With Windows in hda1 and Linux in hda9, the config file should read as follows:
Quote:
title Windows XP
unhide (hd0,0) (Not sure why you need this line)
rootnoverify (hd0,0)
chainloader +1

# For booting Linux
title knnopix
root (hd0,8)
kernel /boot/vmlinuz root=/dev/hda9 ro ramdisk_size=100000 lang-us apm=power-off nomce vga=781
initrd /boot/initrd.img
savedefault
boot
The way it is now, i don't know why Windows would boot either.
Not that GRUB always counts from zero
 
  


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
bootin into a terminal wisdom Linux - Software 1 10-24-2005 06:41 PM
ze5547 doesn't like bootin with cold feet. ;-) cynicjoe Linux - Laptop and Netbook 3 04-16-2004 12:59 AM
Bootin LFS from a floppy? RoyGBiv Linux From Scratch 1 06-24-2003 08:03 AM
problems bootin up!!!!! pueroricanPW! Linux - Newbie 2 03-06-2003 01:18 PM
bootin a new kernel psyklops Linux - General 5 02-14-2002 06:03 AM


All times are GMT -5. The time now is 03:18 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