LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-19-2004, 09:17 AM   #16
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15

You're wellcome JZL240I-U
I'm happy to give from me to the outer world, at least one small piece of knowledge.
I know, newbies almost consume knowledge, but do not give it until they "grow" from newbie to at least apprentice in the Linux matter.

Kind regards,
sbogus
 
Old 05-19-2004, 08:22 PM   #17
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sbogus
[B
Then I'd kindly ask you to provide the following information:

- the output of fdisk -l /dev/hda
- the contents of the /mnt/boot/grub directory (ls -lha /mnt/boot/grub)
- the contents of the menu.lst file in that /mnt/boot/grub directory
- the contents of the /mnt/etc/grub.conf file it that one exists

[/B]
Alright, is it okay if I use the terminal instead?
 
Old 05-19-2004, 11:07 PM   #18
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Well.. here goes.


fdisk -l /dev/hda
Disk /dev/hda: 82.3 GB, 82348277760 bytes
16 heads, 63 sectors/track, 159560 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 138736 69922881 7 HPFS/NTFS
/dev/hda2 138737 140268 772128 82 Linux swap
/dev/hda3 * 140269 159560 9723168 83 Linux

ls -lha /boot/grub
total 249K
drwxr-xr-x 2 root root 416 May 19 02:41 .
drwxr-xr-x 3 root root 520 May 19 02:41 ..
-rw-r--r-- 1 root root 45 May 19 02:41 device.map
-rw-r--r-- 1 root root 12K Apr 5 18:20 e2fs_stage1_5
-rw-r--r-- 1 root root 11K Apr 5 18:20 fat_stage1_5
-rw-r--r-- 1 root root 9.2K Apr 5 18:20 ffs_stage1_5
-rw-r--r-- 1 root root 12K Apr 5 18:20 jfs_stage1_5
-rw------- 1 root root 874 May 19 02:41 menu.lst
-rw-r--r-- 1 root root 9.7K Apr 5 18:20 minix_stage1_5
-rw-r--r-- 1 root root 13K Apr 5 18:20 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 Apr 5 18:20 stage1
-rw-r--r-- 1 root root 130K May 19 02:41 stage2
-rw-r--r-- 1 root root 8.9K Apr 5 18:20 vstafs_stage1_5
-rw-r--r-- 1 root root 13K Apr 5 18:20 xfs_stage1_5

/boot/grub/menu.lst
Code:
# Modified by YaST2. Last modification on Wed May 19 09:41:35 2004


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

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
    kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x346 splash=silent desktop resume=/dev/hda2 showopts
    initrd (hd0,2)/boot/initrd

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

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    root (fd0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
    kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0  3
    initrd (hd0,2)/boot/initrd
/etc/grub.conf
Code:
root (hd0,2)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,2)/boot/grub/menu.lst
quit
 
Old 05-21-2004, 03:07 AM   #19
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Hi Kelvie,

Okay the output of the fdisk command looks prety good, the grub.conf also looks sane. What I've noticed in your menu.lst file though is the missing root (hd0,2) statement in both Linux title and the Failsafe one. I don't know if this could be fatal for the booting process, but I'd suggest you put it there. Your Linux title should look like this:


###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
root (hd0,2)
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x346 splash=silent desktop resume=/dev/hda2 showopts
initrd (hd0,2)/boot/initrd


Furthermore I do not have any clue what the "resume" kernel parameters does (probably something with the swap), in my isntallation I don't have such parameter , I'd first try to boot without this parameter and see if it somehow impacts the work...

For the Windows title you should put there the rootnoverify (hd0,0) statement instead of the root (hd0,0) one. The label should look like this one


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


You should be able to boot in Linux and in WinXP using the above modified configuration.

One note more: If you're able to get a normal terminal or console in your Linux then you can issue from there the GRUB installation command

grub-install --force-lba /dev/hda

You'll have no need to specify explicitly the --root-directory parameter since you're in a normal terminal/console and not in the rescue one.

Kind regards,
sbogus
 
Old 05-21-2004, 02:40 PM   #20
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks again, sbogus, for the reply.

Anyways, this happened again:

Code:
grub-install --force-lba /dev/hda
/usr/lib/stage1: Not found.
Should I just copy all the files there again?
 
Old 05-21-2004, 02:48 PM   #21
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Well.. anyways, I went and copied all the files to /usr/lib (nothing got replaced, so I'm thinking it's reversible and no harm will be done).

Anyways.. it said it installed with no errors; I then booted off the hard drive, and it said the same thing..

GRUB loading stage1.5..

GRUB is now loading, please wait...

So yeah, it seemed a little too familiar, so I rebooted and booted linux manually off the DVD.

On a side note, I found my XP CD.. would it be a good idea to run fixmbr and/or fixboot from the XP recovery console?

Last edited by Kelvie; 05-21-2004 at 02:49 PM.
 
Old 05-23-2004, 01:04 AM   #22
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Okay.. so now I can't even boot off my windows XP CD (it just goes to a blank screen).

I got a feeling something is screwed up..

Maybe I should start another thread..
 
Old 05-25-2004, 02:12 AM   #23
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,023

Rep: Reputation: Disabled
That looks a little like a memory problem ... perhaps you ought to check the timing parameter for your RAM in the BIOS settings. Alternatively you might try to borrow som RAM to check whether the errors persist after the exchange...

Good luck.
 
  


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(SuSE)/Lilo(Slackware) chain loader problems The Chain Linux - Newbie 32 10-12-2006 05:24 PM
SuSE 9.2/laptop : r8169 netcard & Grub/Lilo problems coureyv SUSE / openSUSE 3 12-09-2004 04:53 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
problem using grub/lilo to boot windows with suse 9.1 jcasanue Linux - Distributions 5 07-14-2004 06:58 PM
install GRUB or Lilo to floppy with SuSE? MadSkillzMan Linux - Distributions 3 07-12-2004 09:34 PM


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