LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-15-2004, 06:39 AM   #1
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
grub+dualboot with xp/linux


Im trying to dualboot with xp and novell suse desktop. I use grub, and i can boot into
windows, but i cant load linux. I have the following setup:

XP connected to secondary controller, and its master
Linux connected to secondary controller, and its slave

On my primary controller i have cdrom.

************************************************************
device.map files looks like this:

(hd0) /dev/hdc
(hd1) /dev/hdd
(fd0) /dev/fd0

************************************************************
grub.conf looks like this:

root (hd1,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd1,1) /boot/grub/menu.lst
quit

************************************************************
menu.lst looks like this:

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,1)/boot/messages

title windows
root (hd0,0)
chainloader +1

title floppy
root (fd0)
chainloader +1

title suse <-- this one i have added
root (hd1,1)
chainloader +1

************************************************************
fdisk /dev/hdd gives me the following

Device Boot ..... Id System
/dev/hdd1 ..... 82 Linux Swap
/dev/hdd2 Linux * ..... 83 Linux

The filesystem on the disk is reiserfs, and i only have one partition /, and the filesystem on xp is ntfs.

************************************************************
When i boot with the following settings i get this error msg:

filesystem type is reiserfs, partition type 0x83
chainloader +1

Error 13: Invalid or supported executable format

pres a key to continue...
************************************************************

I cant see to find anything wrong with the configuration. But when search on the internett i see that
hdd2 is (hd3,1) but maby im wrong ? I cant use yast because this is a rescue system, and it want
load. I also tried to find the command grub-install but didnt find it. What am i doing wrong ?

ole
 
Old 11-15-2004, 07:15 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I have no real clue what's going on on your system, but I can tell you what's different to my system:

1. my menu.lst looks like this:

Code:
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,4)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
    kernel (hd0,4)/boot/vmlinuz root=/dev/sda5 vga=0x31a splash=verbose desktop resume=/dev/sda7 showopts
    initrd (hd0,4)/boot/initrd
I wonder where in your configuration you actually point to the kernel? I cannot see it, neither in menu.lst nor in grub.conf. And if you do not specify an initrd, then the filesystem driver (reiserfs) will not be loaded.
 
Old 11-15-2004, 08:11 AM   #3
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
the thing i do now is i boot with a rescue cd, and mount /dev/hdd2 under /mnt.
When i check my /boot directory i only have the following files:

.
..
backup_mbr
boot -> .
grub <--- directory
message

I dont have any vmlinuz or initrd files. This distro is novell desktop suse. So i dont know how do point to them...hehe
How can i then make a bootdisk ? when i dont have the boot files.

ole
 
Old 11-15-2004, 08:33 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Strange! I mean there is no Linux without a kernel

Sounds like a screwed-up installation. I don't think that Novell Desktop is totally different fron the SuSE's I already know, so the kernel should be in /boot. How did you install it?

I am not sure what you mean by 'How can I make a bootdisk'. Don't you already have one (the one that you run the recue system from)?
 
Old 11-15-2004, 09:41 AM   #5
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
i havent installed it, its a friends computer, so i blame him...hehe

What i meant was, how can i make a floppy that i can boot from since i dont have a kernel? that i guess is not possible.
Now im using cd number 1, and login as resuce mode.

Guess ill haveto reinstall..

ole
 
Old 11-15-2004, 11:35 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Quote:
What i meant was, how can i make a floppy that i can boot from since i dont have a kernel? that i guess is not possible.
It is possible. Actually you are doing this already: you load the kernel from the CD and access the filesystem from this system. But it makes no sense! You could do the same with any LiveCD system like knoppix.

Quote:
Guess ill haveto reinstall..
In case you cannot find a kernel on the harddisk, yes, that's what I would do in this case.

EDIT: Could there be an extra boot partition? I forgot about this option. /boot could be mounted on a separate partion (but then I wonder why you have a /boot on your system partition, too)

Last edited by abisko00; 11-15-2004 at 11:37 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dualboot grub chainloading copy and paste no success amarillo Linux - Distributions 4 02-23-2005 08:52 PM
DualBoot: XP Re-installation-Grub bootloader not working.Help!! ghaurisankar Linux - General 2 10-05-2004 06:48 PM
winXP / linux dualboot via GRUB problems r0bman Linux - Software 4 07-20-2004 03:14 PM
Dualboot to GRUB with XP bootloader? TheMask Linux - Newbie 2 06-18-2004 03:14 PM
Dualboot XP Mandrake with grub atom Linux - Newbie 4 02-22-2004 06:00 AM


All times are GMT -5. The time now is 12:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration