LinuxQuestions.org
Visit Jeremy's Blog.
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 12-31-2005, 01:41 AM   #1
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Rep: Reputation: 30
Question Can't boot Xandros with GRUB


I'm running SuSE Linux 10 and Xandros 3.02 OCE. SuSE uses the GRUB boot loader and I'd like to know how to boot Xandros with GRUB.
When I configure the boot loader with YaST, Xandros is Type "Other" on "/dev/hdb5"

Last edited by kahlil88; 12-31-2005 at 07:14 AM.
 
Old 12-31-2005, 06:49 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Try this in the Suse grub.conf or menu.lst

Code:
title Xandros
	root (hd0,4)
	kernel /boot/vmlinuz-2.6.9-x1 root=0x0305 rw acpi=on
	initrd /boot/initrd-2.6.9-x1.gz
 
Old 12-31-2005, 07:27 AM   #3
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Original Poster
Rep: Reputation: 30
It finds the partition in SuSE, but when I select it in GRUB, I get an error.
Quote:
Error 22: No such partition
 
Old 12-31-2005, 07:39 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Can you post the output of: fdisk -l

and the grub.conf
 
Old 12-31-2005, 07:54 AM   #5
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Original Poster
Rep: Reputation: 30
I didn't see a grub.conf, but here is menu.1st
Quote:
# Modified by YaST2. Last modification on Sat Dec 31 05:30:49 PST 2005

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title SuSE Linux 10.0
root (hd1,2)
kernel /boot/vmlinuz root=/dev/hdb3 vga=0x31a selinux=0 resume=/dev/hdb4 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows 2###

title Windows XP
chainloader (hd0,1)+1

###Don't change this comment - YaST2 identifier: Original name: windows 1###

title Windows 98
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: windows 3###

title Xandros
kernel (hd0,4)/boot/vmlinuz-2.6.11-x1 root=0x0305 rw acpi=on
initrd (hd0,4)/boot/initrd-2.6.11-x1.gz

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd1,2)
kernel /boot/vmlinuz root=/dev/hdb3 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
 
Old 12-31-2005, 08:01 AM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Can you post the output of: fdisk -l
 
Old 12-31-2005, 08:05 AM   #7
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Original Poster
Rep: Reputation: 30
No wonder...the Xandros partition is on the other hard disk!
Quote:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 919 6947608+ b W95 FAT32
/dev/hda2 * 920 10336 71192520 7 HPFS/NTFS

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 2743 4571 14691442+ c W95 FAT32 (LBA)
/dev/hdb2 4572 4865 2361555 5 Extended
/dev/hdb3 1 1148 9221278+ 83 Linux
/dev/hdb4 1149 1279 1052257+ 82 Linux swap / Solaris
/dev/hdb5 4572 4865 2361523+ 83 Linux
 
Old 12-31-2005, 08:12 AM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Try this if homey doesn't object

Code:
title Xandros
	root (hd1,4)
	kernel /boot/vmlinuz-2.6.9-x1 root=/dev/hdb5 rw acpi=on
	initrd /boot/initrd-2.6.9-x1.gz

Last edited by saikee; 12-31-2005 at 08:13 AM.
 
Old 12-31-2005, 08:15 AM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Yep, missed the /dev/hdb5 part and used /dev/hda5.
Getting old and these winter colds wear me out.
 
Old 12-31-2005, 08:20 AM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
homey,

Possibly eating too much turkey?
 
Old 12-31-2005, 08:23 AM   #11
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Possibly eating too much turkey?
Nah, it doesn't last long with a pack like ours.
 
Old 12-31-2005, 08:40 AM   #12
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Original Poster
Rep: Reputation: 30
Another error:
Quote:
Software Suspend 2.1.8.2: You need to use a resume2= command line parameter to tell Software Suspend 2 where to look for an image.
Software Suspend 2.1.8.2: Resume2 parameter is empty. Suspending will be disabled.
Software Suspend 2.1.8.2: Missing or invalid storage location (resume2= parameter). Please correct and rerun lilo (or equivalent) before suspending.
VFS: Cannot open root device "hdb5" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
 
Old 12-31-2005, 08:51 AM   #13
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
OK lets be lazy as it is still holiday time.

Why don't you let Suse boots Xandros' Lilo?

Just boot into Suse and do the following
Code:
mkdir /mnt/hdb5
mount /dev/hdb5 /mnt/hdb5
chroot /mnt/hdb5
lilo -b /dev/hdb5
exit
You then amend Suse's /boot/grub/menu.lst to use these lines to boot Xandros
Code:
Title This is lazy dude's suggestion to boot my Xandros in hdb5
root (hd1,4)
chainloader +1
Just tell us the good news and we can go back to our drinks.
 
Old 12-31-2005, 09:05 AM   #14
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Original Poster
Rep: Reputation: 30
There may have been more 99s...but you see what's happening (I hope).
Quote:
root (hd1,4)
Filesystem type is reiserfs, partition type 0x83
chainloader +1
L 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 
Old 12-31-2005, 09:57 AM   #15
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
post Xandros' /etc/lilo.conf here. If you can't find it try /etc/lilop.conf. The son of a gun does not conform to the Linux standard. Also list the /etc/fstab of Xandros too.

You have to come clean on this one. Did the "lilo -b /dev/hdb5" report any error?

Lilo should have said...... then "Linux added" or "Xandros added" and no fatal message. If you can't remember just say so. It may help us to diagnose the problem.
 
  


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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
grub boot xandros bogus__13 Linux - General 12 03-25-2005 11:40 AM
Xandros boot loader doesn't load Xandros wharp Linux - General 1 10-27-2004 06:47 AM
Xandros Broke My Boot! deesto Linux - Distributions 13 12-16-2002 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:53 PM.

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
Open Source Consulting | Domain Registration