LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2005, 04:24 AM   #16
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15

Goodmorning Paul,
I wondered about the RO as well, but reading the GRUB documentation it says this part is passed to the kernel commandline. (I just used it as written in the O'Reilly book).
As you see it is NOT in the menu.lst.

Last night I also tried to repair the bootloader. I told you there was a error message. Now I just checked the menu.lst and there I see :
***********************
# Modified by YaST2. Last modification on Fri Oct 28 23:53:10 2005


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (null)/

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (null)/ root= vga=0x31a splash=silent desktop resume=/dev/hda1 showopts
initrd (null)/
**************************

See the device (null) ???? So yast-repair must have had problems!!!!

I think for the moment we must leave GRUB as it is and go another way. Preferable WITHOUT any bootloader!!!
 
Old 10-29-2005, 04:27 AM   #17
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
BTW, I just added the /boot in my backup-scheme as well!
 
Old 10-29-2005, 04:57 AM   #18
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
Last test for grub.
I created a GRUB boot floppy according to the official GRUB manual (http://www.gnu.org/software/grub/):
# cd /usr/lib/grub/i386-pc
# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
# dd if=stage2 of=/dev/fd0 bs=512 seek=1
153+1 records in
153+1 records out
#

I booted from this floppy and then I gave the following commands :
grub > root (hd0,1)
grub > find /boot/grub/stage1

After the find command nothing happens anymore and I have to reset the system.
It seems there are problems with the HDD with this Mobo.
 
Old 10-29-2005, 09:11 AM   #19
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
I'm really confused about the repair. I finds no drive: Something is wrong with your MBR. Maybe you should this to a modorator
 
Old 10-29-2005, 10:06 AM   #20
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for your help, Paul..
ANYONE else has ideas????
 
Old 10-29-2005, 01:04 PM   #21
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
I went into another direction now.
I installed LiLo, configured it and wrote a new MBR using "lilo -v".
When I reboot LiLo stalls with just a "L". Does this give a clue???
I still believe with the swap of the Mobo went something wrong what not can be repaired by yast.
Maybe a driver missing???
 
Old 10-29-2005, 01:31 PM   #22
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
Hello Peter, I Think I know now where your problem is comming from:
The swap device is a raw-partition. It doesn't about files inside. It is like an additional memory and overwright everything. Put your swapspace to an other place
maybe on the second disk for testing rewrite grub or lilo (but I have no expieriance
with lilo). Try out this, I wait for your answer berfore I go to sleep(think CET+5 tomorrow CET+6)
Regards
Paul
 
Old 10-29-2005, 01:41 PM   #23
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
If you don't know how to this:
Look into your /etc/fstab
check for /dev/swap
copy this line and replace the new diskparameters.
Don't forget to comment the old entry with #
 
Old 10-29-2005, 01:44 PM   #24
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
Hello Paul,
Thanks for your answer but remember it was all working fine before I changed the MoBo.
For the moment I don't want to change the disk partitions because the system is still working fine. Just need to boot it manually by the install CD.
But thanks for your hint. Will keep it in my mind.
I am going out soon, so I won't check this before tomorrow.
 
Old 10-29-2005, 02:10 PM   #25
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
Enjoy your evening. I think that I am online at 11 am Thai time (-6)
Paul
 
Old 11-19-2005, 12:10 AM   #26
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.

If the system has no DOS/WINDOWS, you may use the bootlace.com utility to write GRLDR boot record onto the MBR.
 
Old 11-19-2005, 03:55 AM   #27
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
Hello TB,
Thanks for your answer. My system does NOT have a DOS/Windows environment, just linux, but I will have a look and see if I can build a boot floppy.
Will post the results here.
 
Old 11-19-2005, 08:40 PM   #28
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
Thank you, pbogaart.

There are two floppy images in the GRUB4DOS release, both are 1.44M. One is FAT12 formated and the other is EXT2 formated. You can use either of them to create a bootable floppy and boot to GRUB. Or you can use your DOS floppy and simply copy GRUB.EXE onto it.
 
Old 11-19-2005, 08:57 PM   #29
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
As another solution, you may place grldr to the root dir of a ext2/ext3 filesystem, and run bootlace.com to write grldr boot record to the MBR.
 
Old 02-03-2006, 05:49 PM   #30
pbogaart
LQ Newbie
 
Registered: Aug 2004
Location: Heesch, the Netherlands
Distribution: Suse 9.1 professional
Posts: 22

Original Poster
Rep: Reputation: 15
Sorry it take so long for me to respond, but I have been on vacation for a while (If you want to see the pictures : http://sa2006.envim.com) .
After I went back I decided to install Suse 10.0. When finished it all worked fine. I suppose the Suse 9.1 did not have the right drivers for the (new)MoBo. Now this item is solved (Suses 10.0 upgrade gave me new hassels).
For now, thank you all for your usefull suggestions...
Peter...
 
  


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
Grub - dual boot fails on sdb mhoma Linux - General 0 06-13-2005 12:08 PM
new mobo - how 2 detect on boot? Grub loader calabash Linux - Hardware 4 09-27-2004 11:54 AM
Grub Fails after installing new IDE disk silversurfer Linux - Newbie 3 03-11-2004 11:18 AM
Installing onboard soundcard ADI 1980 / mobo A7V600 tagit Linux - Hardware 0 12-22-2003 11:30 AM
GRUB fails on bootup arvid Linux - Software 1 03-13-2002 01:07 PM


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