LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-10-2004, 09:25 AM   #16
tuxisnottux
LQ Newbie
 
Registered: Dec 2003
Location: TN, USA
Distribution: RH7.2, 9, [SuSE 9, Mandrake 9.x future]
Posts: 16

Original Poster
Rep: Reputation: 0
grub/SusSE reinstall, the saga continues :-)


Latest try:

grub> root (hd0,7)/boot/grub/kernelxxxxxxxxxx
grub> initrd(hd0,7)/boot/grub/initrdxxxxxxxxxx
grub> boot

does not get "Error 1x: ..." or "grub>" -- a batch of booting messages come up, then it all stops (after a line about "APM: BIOS 1.2 nnnnnnnnnn"; this is not necessarily a problem with BIOS; rather, as friend Larry points out, it simply means whatever is happening stopped after that particular message).

This is with xxxxxxxxxx above anything from nothing to e.g. "2.4.21-99-default", all files thus named verified with Knoppix CD as being in the above location. (Wow, five Linuces on one machine, with likely more to come).

So SuSE has not say vanished and does start giving a response to "boot". The only significant difference I can think of between the previous SuSE installation, which before worked, and the current installation, is that I did not custom partition such that /boot and /root were separate. There must be something else though.

Have not yet tried installing bootloader during SuSE/YaST repair.

I notice that trying the above approach evidently did not work entirely when installaing Mandrake (which still works): I have two lines like the above in the grub.conf file, but commented out; I went back to chainloading.

Possibly it's something about installing a loader in the BR of the SuSE partition, rather than say a mod to the "master" grub.conf.

I do not think putting the lines I give at the top of this post in grub.conf should make any difference (they should behave the same as when given to grub interactive). However, stranger things have happened.

DGL/tuxisnottux/GNU Is Not UNIX/bombadil42/merlin_ch/ch_merlin/etc.
 
Old 07-03-2005, 02:20 AM   #17
tuxisnottux
LQ Newbie
 
Registered: Dec 2003
Location: TN, USA
Distribution: RH7.2, 9, [SuSE 9, Mandrake 9.x future]
Posts: 16

Original Poster
Rep: Reputation: 0
Solved (sorta) just recently upon return to it

To the grub entry for SuSE I added "root (hd0,x)". Suddenly booted (after an attempted self re-install). Back from the dead after possibly a year. In time to succumb to 9.3 Pro.

Oddly enough, the Mandrake grub entries did not have the "root (hdy, x)" line and booted fine. I was in fact trying to imitate Mandrake for SusSE and so at first gave SuSE no "root (...)" .

Now it's a matter of grub, fstab, etc. for Mandrake 10.1 and its " /bin/gettext: access disallowed" or whatever it was. Google > groups > computers takes you right to those exact messages but haven't gotten the stated solutions to work ... yet.
 
Old 12-22-2005, 04:37 AM   #18
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
I realize this is late in coming but maybe it will help someone in the future.

There are a couple ways of booting a partition using one of the linux bootloaders.
  1. Tell the bootloader exactly where the kernel is. An example of this from your grub menu.lst in post #1:
    title Lx: Red Hat 9 (2.4.20-6)
    root (hd1,1)
    kernel /vmlinuz-2.4.20-6 ro root=LABEL=/1 hdc=ide-scsi
    initrd /initrd-2.4.20-6.img
  2. Tell the bootloader to boot the partition. Using this method we can boot other OS's also (Windows DOS etc...) The bootloader simply loads the bootsector (the first 512 bytes) of the partition and executes the bootstrap code located in the bootsector. An example of this is in your grub file from post #1:
    title Lx: SuSE 9.0
    rootnoverify (hd0,5)
    chainloader +1

In order for example #2 to work the partition needs to have a bootsector with bootstrap code. If you were installing SUSE without installing the bootloader then you had no bootsector on hda5 or hda7 or wherever SUSE was installed. In order to use method #2 you have to put the bootsector on the partition by either running lilo or grub-install.

Also the next time you need to repair a linux partition and you can't login to root account get R.I.P. (Rescue Is Possible). Handy little bootable CD with many neat tools.
 
  


Reply



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
XP/Suse - install went fine but Grub won't boot NickC SUSE / openSUSE 7 06-07-2005 08:09 AM
GRUB 0.92 to boot 3 OSs TedtheRushFan Linux - Newbie 8 04-15-2005 04:13 PM
SuSE & XP Boot Fine--I'd like Fedora... herkdrvr Linux - General 3 10-09-2004 08:52 PM
mpg321 scratchy with ALSA, fine with OSS karthikrr Slackware 7 11-21-2003 12:18 PM
Problems in RH 9 with alsa and esd oss works fine (VIA VT8233) husfeldt Linux - Hardware 1 08-28-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:37 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