LinuxQuestions.org
Review your favorite Linux distribution.
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 08-23-2003, 08:10 PM   #16
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30

I guess the problem is having suse in an other format then ext3. I could go for a reinstall if there're no things left to try
 
Old 08-23-2003, 08:11 PM   #17
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
boot=/dev/hda
map=/boot/map
vga=normal
default="linux-enterpris"
keytable=/boot/us-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdb1
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdb1
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/mnt/suse/boot/vmlinuz
label="SuSE_8.2"
root=/dev/hdb3
append="devfs=mount hdc=ide-scsi acpi=off quiet"
read-only
image=/boot/vmlinuz-enterprise
label="linux-enterpris"
root=/dev/hdb1
initrd=/boot/initrd-enterprise.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="WindowsXP"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb1
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi acpi=off"
read-only

standard boot is linux-enterprise

Last edited by twinkers; 08-23-2003 at 08:13 PM.
 
Old 08-23-2003, 08:27 PM   #18
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
Well. itś almost 4 over here. Time to get some sleep and see if I can try anything else in the morning. Thanx for all the help! Hope to get it right tomorrow.....
 
Old 08-23-2003, 08:28 PM   #19
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Incidentally - when you mouted the reiserFS /dev/hdb3 manually did you go into the mount point /mnt/suse and check that it had been mounted succesfully and that the SUSE kernel was in the boot directory - also check if it has an initial ramdisk initrd.img in the boot directory aswell - you mmight need to add


initrd=/boot/initrd.img

let me know first
 
Old 08-24-2003, 07:17 AM   #20
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
Well I did a reinstall of SuSE with ext3 and used lilo as bootmanager. So just did as you said but still having problems.
I did the mkdir, mounted it and changed the liloconf file. /sbin/lilo still gives: Fatal: open /boot/initrd-enterprise.img: No such file or directory. Strange since it's mounted I can go in there and see the files it needs. So why doesn't Lilo see the files? Yeez, two days work to get a boot.....The liloconfig looks like this:


boot = /dev/hda
change-rules
reset
default = linux
lba32
menu-scheme = Wg:kw:Wg:Wg
message = /boot/message
prompt
read-only
timeout = 80

image = /boot/vmlinuz
label = linux
append = "hdc=ide-scsi hdclun=0 splash=silent"
initrd = /boot/initrd
root = /dev/hdb3
vga = 0x317

other = /dev/hda1
label = windows

image = /boot/vmlinuz.shipped
label = failsafe
append = "ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3"
initrd = /boot/initrd.shipped
root = /dev/hdb3
vga = 0x317

image = /mnt/mandrake9/boot/vmlinuz-enterprise
label = Mandrake
append = "devfs=mount hdc=ide-scsi scpi=off"
initrd = /boot/initrd-enterprise.img
root = /dev/hdb1
read-only

Now working in SuSE and trying to boot mandrake with Lilo.
 
Old 08-24-2003, 07:24 AM   #21
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you don't really need an initrd anyway... try removing it... but also post the result of "ls -l /boot"
 
Old 08-24-2003, 07:29 AM   #22
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
CC36776-A:~ # ls -l /boot
total 5732
drwxr-xr-x 3 root root 4096 Aug 24 14:11 .
drwxr-xr-x 21 root root 4096 Aug 24 12:50 ..
-rw-r--r-- 1 root root 616145 Aug 6 20:36 System.map-2.4.20-4GB-athlon
lrwxrwxrwx 1 root root 1 Aug 24 03:44 boot -> .
-rw-r--r-- 1 root root 512 Aug 24 04:00 boot.0300
drwxr-xr-x 2 root root 4096 Aug 24 03:44 grub
-rw-r--r-- 1 root root 452573 Aug 24 13:12 initrd
-rw-r--r-- 1 root root 451773 Aug 24 13:12 initrd.shipped
-rw------- 1 root root 195072 Aug 24 13:12 map
-rw-r--r-- 1 root root 142091 Aug 24 13:16 message
-rwxr-xr-x 1 root root 1407586 Aug 6 20:36 vmlinux.gz
-rw-r--r-- 1 root root 1187547 Aug 6 20:36 vmlinuz
-rw-r--r-- 1 root root 101409 Aug 6 21:44 vmlinuz.autoconf.h
-rw-r--r-- 1 root root 49348 Aug 6 21:44 vmlinuz.config
-rw-r--r-- 1 root root 1187547 Aug 6 20:36 vmlinuz.shipped
-rw-r--r-- 1 root root 137 Mar 17 18:55 vmlinuz.version.h
 
Old 08-24-2003, 07:29 AM   #23
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
Isn't it possible to just copy the mandrake files into the boot part of SuSE?
 
Old 08-24-2003, 07:37 AM   #24
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
I found this on Google:

install distro1
make sure that /home are on sparare partitions to/
make sure distro 1 is working (duh)
Install distro 2 to a separate parition
Do not install bootloader for distro 2
mount the / partition for distro 2
copy the kernel image from distro 2's / partition to the relevant place on distro 1's system.
edit lilo config
re-run lilo
reboot eh voila

hmm, could work but this way I should copy the kernel there whenever an update is made to it right? Final thing to try. Otherwise I'll just go with one distro
 
Old 08-24-2003, 07:48 AM   #25
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Fatal: open /boot/initrd-enterprise.img: No such file or directory. Strange since it's mounted I can go in there and see the files it needs.
well this is clearly wrong looking at that ls output.... basically this is Lilo's fundamental problem i think, it has such poor scalaibitlity for what you want to do. i'd strongly suggest migrating over to grub, which is so so much more flexible, as it always access files via their ide and partition numbers rather than a cold file path, which as your findiing out now is not at all suitable.

for you you can either mount the other boot files in anotyher location and go from there, or copy them into your suse (?) /boot but neither of these are nice solutions.

go grub
 
Old 08-24-2003, 09:12 AM   #26
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Twink

If your now working form SUSE and your trying to get Madrake to boot, Mandrake uses an initrd.img initial ramdisk

image = /mnt/mandrake9/boot/vmlinuz-enterprise
label = Mandrake
append = "devfs=mount hdc=ide-scsi scpi=off"
initrd = /boot/initrd-enterprise.img
root = /dev/hdb1
read-only

There's an error on that line Ive highlighted though , that's an incorrect PATH to your initrd.img file - remember this file is now mounted along with your kernel in the Root partition thats mounted - it should say


/mnt/mandrake/boot/initrd-enterprise.img


That explains exactly the error youve got - Fatal: open /boot/initrd-enterprise.img: No such file or directory

Its no such file or directory simply because its the wrong PATH to the initrd-enterprise.img file

So - simply Mount the Mandrake root partition as normal then make the change in lilo.conf then as root user run

/sbin/lilo

Last edited by Skyline; 08-24-2003 at 09:36 AM.
 
Old 08-24-2003, 10:51 AM   #27
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
The solution is more simple then I ever thought. I gave it a go with Grub. Specified the partition of Mandrake (1,0) and Suse (1,2) and it works! 3 minutes of typing and done.....Thanx for all the help, I did learn a lot about booting the past couple of days Here's how the Grub config looks:

# Modified by YaST2. Last modification on Sun Aug 24 17:46:01 2003


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

title SuSE 8.2
kernel (hd1,2)/boot/vmlinuz root=/dev/hdb3 vga=0x317 hdc=ide-scsi hdclun=0 splash=silent showopts
initrd (hd1,2)/boot/initrd

title Mandrake 9.1
kernel (hd1,0)/boot/vmlinuz-enterprise root=/dev/hdb1 devfs=mount hdc=ide-scsi acpi=off

title Windows XP
root (hd0,0)
chainloader +1

title floppy
root (fd0)
chainloader +1

title failsafe
kernel (hd1,2)/boot/vmlinuz.shipped root=/dev/hdb3 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
initrd (hd1,2)/boot/initrd.shipped

So, no more Lilo for me!
Time to get to actually work with Linux
 
  


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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
How many partitions should I use? fishybawb Slackware - Installation 4 07-23-2004 02:53 AM
Partitions dark_light Linux - General 3 07-21-2004 09:09 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
How many partitions dark_light Linux - General 7 05-08-2002 04:37 PM

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

All times are GMT -5. The time now is 07:56 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
Open Source Consulting | Domain Registration