Linux - GeneralThis 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.
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.
I have modified this menu everyway I could think to but the only results are error 15: fs not found; error 13: incorrect fs and also kernel panic
I recently lost everything in trying to change these settings. Usually I can boot into SuSE and windowsME. I was able to recover my system after about an hours work. I can boot debian and slackware from floppy. Are there any easy answers for this? I even tried system commander PE but it can't load debian or slack either. Gujin loads slack bot won't load SuSE or debian. The numbers/addresses (above) are correct. Thanks for reading this.
I am no expert on grub but some crucial parameters seem to be missing. Here's a section of my grub menu.lst;
title Debian GNU/Linux, kernel 2.4.22-amdk7
root (hd2,0)
kernel /boot/vmlinuz-2.4.22-amdk7 root=/dev/hdd1 ro hdb=ide-scsi apm=on apm=power_off
initrd /boot/initrd.img-2.4.22-amdk7
savedefault
I note in yours the root parameter is missing and more crucially the under initrd there is no instruction on which initrd.img to use eg in my system I have 2 other old kernels available and grub lists these so for this latest kernel the instruction is to use /boot/initrd.img-2.4.22-amdk7
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
By any chance did you install a boot partition with each distro when you installed them. I was having the same problem with Win XP Pro, Red Hat 9, and Mandrake 9.1, then I went and re-installed Red Hat 9 but did not create a /boot partition. I then booted into Mandrake and edited the grub/menu.lst file to include the Red Hat 9 info and it works great.
There is most likely an easier way but I tried for days to get it to work like you were doing but this way works for me.
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93
Original Poster
Rep:
partition table
Damn I can't even copy and paste my partiton table to this board aaaaaagggghhh!!!! I'm just about ready to give up!
Sorry...
Yes I have two hard drives windows is on the first partiton of drive 0
SuSE is on hda5 and SuSE's installer did setup an extended partion on the last partition of the 1st drive.
The 2nd drive has hdb2 for slackware and hdb5 for debian hdb6 & 7 are the swaps. I can boot all the os's from floppy. I have tried to install several boot mangers but none of them"see" slack or debian. Maybe I need to shrink the partions and move them all on to the 1st drive. And yes I have made both slack and debian active/bootable. Grub doesn't work right for me I will experiment more with lilo
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
Not sure what you mean by "I have made both slack and debian active/bootable"? When you installed each one, if you created a separate /boot partition for each then that is what each is booting with to find the /mbr that should contain grub.
Try booting (via floppy) into slack or debian on your machine and view the /grub/menu.lst file and copy the contents related to booting that distro exactly as written into the /grub/menu.lst file in your SuSE installation on the 1st drive. It sounds like you are trying to boot all the distros at the same time, hence why they are not showing up in any bootloader because they all have their own and the system doesn't know but to use only one, the first one.
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93
Original Poster
Rep:
grub continuing
Hi, Thanks for the response, and booting by floppy is how I get into debian & slack although gujin (an off beat gnu bootloader) will boot slack. I can't look at the menu 1st in debian and slack because they're not using grub. I'm using the grub that is installed by default with SuSE 8.1. I'm using SuSE right now but I'll check to see if either of the others have a menu 1st (lilo?) but I don't think lilo has an editable menu1st. I will check anyway. And I'm reading one of the grub how-tos, perhaps that will help.
I think your ptoblem is that you have to define which is your root partition. Note you must define a root partition on hd1.
So, the right syntax would be:
Title What you want
root (hd0,X) (this can be check as I comment later)
kernel /directory where vmlinuz is under ro root=/dev/hdbx (depending of Slac or Debian)
initrd /directory where initrd-xxxx.img is under
OK if this doesn´t work, you can use your CDs to mount your system under /mnt/sysimage or another. Execute the command "grub". Once in the grub shell type:
find /boot/grub/stage1 (to verify the boot device)
root (hd1,x) (this setup boot device)(x depends on the result of previous command)
to install grub on the MBR:
setup (hd0) install GRUB on the MBR of hd0
setup (hd0,0) install GRUB in a boot sector
But if the problem persists, you can reinstall grub. Check carefully the device holding the MBR and type:
# grub-install /dev/hda if GRUB images are in the root directory or: # grub-install --root-directory=/boot /dev/hda
if the boot partition is mounted as /boot
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.