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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-31-2005, 01:41 AM
|
#1
|
Member
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173
Rep:
|
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.
|
|
|
12-31-2005, 06:49 AM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
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
|
|
|
12-31-2005, 07:27 AM
|
#3
|
Member
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173
Original Poster
Rep:
|
It finds the partition in SuSE, but when I select it in GRUB, I get an error.
Quote:
Error 22: No such partition
|
|
|
|
12-31-2005, 07:39 AM
|
#4
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Can you post the output of: fdisk -l
and the grub.conf
|
|
|
12-31-2005, 07:54 AM
|
#5
|
Member
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173
Original Poster
Rep:
|
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
|
|
|
|
12-31-2005, 08:01 AM
|
#6
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Can you post the output of: fdisk -l
|
|
|
12-31-2005, 08:05 AM
|
#7
|
Member
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173
Original Poster
Rep:
|
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
|
|
|
|
12-31-2005, 08:12 AM
|
#8
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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.
|
|
|
12-31-2005, 08:15 AM
|
#9
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Yep, missed the /dev/hdb5 part and used /dev/hda5.
Getting old and these winter colds wear me out. 
|
|
|
12-31-2005, 08:20 AM
|
#10
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
homey,
Possibly eating too much turkey?
|
|
|
12-31-2005, 08:23 AM
|
#11
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Quote:
Possibly eating too much turkey?
|
Nah, it doesn't last long with a pack like ours.
|
|
|
12-31-2005, 08:40 AM
|
#12
|
Member
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173
Original Poster
Rep:
|
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)
|
|
|
|
12-31-2005, 08:51 AM
|
#13
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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.
|
|
|
12-31-2005, 09:05 AM
|
#14
|
Member
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173
Original Poster
Rep:
|
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
|
|
|
|
12-31-2005, 09:57 AM
|
#15
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 06:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|