LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 07-07-2006, 08:41 AM   #1
eeenigma
LQ Newbie
 
Registered: Aug 2005
Location: London, UK
Distribution: Slackware10.2, Kubuntu6.06.1 LTS, FC5
Posts: 7

Rep: Reputation: 0
Triple boot problem XP - Suse - Ubuntu


I've just installed Ubuntu on a dual boot system with XP -pro and Suse 10.1
I decided that I liked the Suse grub boot screen better than the ubuntu one ( I have a problem showing text on my Samsung SM193P+ as the screen is shifted 4 chars to the left)
so I thought I'd try Yast and the boot loader module to use Suse's grub

now when I try and boot ubuntu I get

error 15 : file not found

after it has said something about initrd can't quiet figure what it's saying as it's missing the 1st 4 chars

menu.lst

Code:
# Modified by YaST2. Last modification on Fri Jul  7 12:47:04 BST 2006

color white/blue black/light-gray
default 0
timeout 10
gfxmenu (hd2,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
    root (hd2,1)
    kernel /boot/vmlinuz root=/dev/sda2 vga=0x31a    resume=/dev/sda1  splash=silent showopts
    initrd /boot/initrd

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## 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 options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sdb1 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd3,0)
## 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
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery 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
## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
###Don't change this comment - YaST2 identifier: Original name: Ubuntu, kernel 2.6.15-25-386 (/dev/sdb1)###

title Ubuntu, kernel 2.6.15-25-386 (/dev/sdb1)
    kernel (hd3,0)/boot/vmlinuz-2.6.15-25-386 root=/dev/sdb1 ro quiet splash
    initrd (hd3,0)/boot/initrd.img-2.6.15-25-386
    savedefault
    boot

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    chainloader (hd0,0)+1

###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.1
    root (hd2,1)
    kernel /boot/vmlinuz root=/dev/sda2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off  3
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: 2.6.16.13-4-default###

title 2.6.16.13-4-default
    root (hd2,1)
    kernel /boot/vmlinuz-2.6.16.13-4-default root=/dev/sda2 vga=0x31a    resume=/dev/sda1  splash=silent showopts
    initrd /boot/initrd-2.6.16.13-4-default
The system has 4 hard drives
hda
hdb
sda
sdb

xp is using hda and hdb
suse uses sda
and Ubuntu is using sdb

df -l
Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             31630964   3494636  28136328  12% /
udev                    518292       208    518084   1% /dev
/dev/sda3            210453092   5876184 204576908   3% /home
/dev/hda1             82397352  38699396  43697956  47% /windows/C
/dev/hda5            161798612 130032460  31766152  81% /windows/D
/dev/hdb1            204796588 160184372  44612216  79% /windows/G
/dev/hdb5             39391348   4578556  34812792  12% /windows/I
I would appriceate any help in sorting this out.
any more info you need just tell me what

TIA
jon
 
Old 07-07-2006, 09:24 AM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
The problem is probably that your grub.conf / menu.lst is pointing to the incorrect initrd.img. I'm not sure what path it should be, but what you can do is boot into SuSe, mount sdB and have a go.

Also make sure that your harddrive references are correct. In a system with so many drives, you'd probably get "file not found" errors for a lot of boot up stuff (instead of "partition does not exist" or anything similar)
 
Old 07-07-2006, 10:39 AM   #3
eeenigma
LQ Newbie
 
Registered: Aug 2005
Location: London, UK
Distribution: Slackware10.2, Kubuntu6.06.1 LTS, FC5
Posts: 7

Original Poster
Rep: Reputation: 0
messages when trying to boot to Ubuntu

Code:
root (hd3,0)
filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinz-2.6.15-25-386 root=/dev/sdb1 ro quiet spalsh
     [linux-bzImage, setup=0x1c00, size=0x157812]
initrd /boot/initrd.img-2.6.15-25-386
     [linux-initrd @ 0x1f97a00,0x6756c8 bytes]
???edefault
error 15: File not found

press any key to continue
when I press anykey I get taken to a grub menu where I can boot to Suse or windows without any problems, if I try Ubuntu I get the above again.


mounting sdb1 and listing the menu.lst for ubuntu gives

Code:
# 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'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default         0

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

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## 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 options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sdb1 ro

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

## 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

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery 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

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title           Ubuntu, kernel 2.6.15-25-386
root            (hd3,0)
kernel          /boot/vmlinuz-2.6.15-25-386 root=/dev/sdb1 ro quiet splash
initrd          /boot/initrd.img-2.6.15-25-386
savedefault
boot

title           Ubuntu, kernel 2.6.15-25-386 (recovery mode)
root            (hd3,0)
kernel          /boot/vmlinuz-2.6.15-25-386 root=/dev/sdb1 ro single
initrd          /boot/initrd.img-2.6.15-25-386
boot

title           Ubuntu, kernel 2.6.15-23-386
root            (hd3,0)
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/sdb1 ro quiet splash
initrd          /boot/initrd.img-2.6.15-23-386
savedefault
boot

title           Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root            (hd3,0)
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/sdb1 ro single
initrd          /boot/initrd.img-2.6.15-23-386
boot

title           Ubuntu, memtest86+
root            (hd3,0)
kernel          /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           Windows NT/2000/XP (loader)
root            (hd0,0)
savedefault
makeactive
chainloader     +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda2.
title           SUSE Linux 10.1 (on /dev/sda2)
root            (hd2,1)
kernel          /boot/vmlinuz root=/dev/sda2 vga=0x31a resume=/dev/sda1 splash=silent showopts
initrd          /boot/initrd
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda2.
title           Failsafe -- SUSE Linux 10.1 (on /dev/sda2)
root            (hd2,1)
kernel          /boot/vmlinuz root=/dev/sda2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd          /boot/initrd
savedefault
boot

sdb1 is the root partition for Ubuntu
sdb5 is the swap partition
i'll go try and read the grub manual again, but as I'm not sure what the problem is I'm not sure what I'm looking for there.

as I reread the menu.lst and look at the boot messages I am assuming the message (that I can't quiet read) ???edefault is in fact savedefault?
If this is the case, is this where its failing to find the file?
and if so can i just comment it out?
 
Old 07-07-2006, 06:00 PM   #4
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
it is failing to find the file in question and no you can't comment it out, as it is required to boot. I'm not exactly sure what the problem is, but if you can somehow boot Ubuntu you can use "sudo mkinitrd" to generate that file.
 
Old 07-10-2006, 06:26 PM   #5
kozuch82
LQ Newbie
 
Registered: May 2006
Location: Czech Rep. (EU)
Distribution: Debian, Ubuntu
Posts: 23

Rep: Reputation: 15
Suse had kind of problems lately...
 
Old 07-10-2006, 08:04 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
If you installed grub when you installed Ubuntu, just go to the Ubuntu /boot/grub/menu.lst and copy the boot info for Ubuntu over to the SuSE menu.lst or at least read it and compared with what SuSE is using and you may spot 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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple boot Linux (Ubuntu 5.10), WinXP and MacOS (Tiger) Luke771 Linux - General 8 01-25-2006 07:49 AM
triple boot suse 9.3 with winxp/win me gernish123 Linux - Newbie 5 10-09-2005 09:10 PM
Triple boot - 98, XP, SuSE tweft Linux - Software 1 06-24-2005 06:31 PM
Triple Boot RedHat,Suse,and Windows??help!!! sissipher Linux - Newbie 19 08-03-2004 02:17 AM
Triple Boot: 98, XP, Suse 8.2 krobi Linux - Newbie 7 09-29-2003 10:02 AM


All times are GMT -5. The time now is 11:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration