Ooops. GRUB screwed up


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Ooops. GRUB screwed up
# 1  
Old 06-07-2005
Ooops. GRUB screwed up

Hi Guys.

I moved my root partition, deleted the old one and set GRUB up using Yast.
It all booted OK when I tested it but the second reboot has just brought me straight onto a GRUB promt

GRUB > _

Any help much appreciated. I don't know anything about GRUB and the stuff I find on google is too adanced for this.

All I need to do is to boot (hd0,0) [which is actually /dev/hdc1 in fstab]

I have the rescue CD and a GRUB prompt. So far I've mounted /dev/hdc1 with the rescue disk and edited /mnt/etc/grub.conf to replace (hd0,5) with (hd0,0).

I then tried:

GRUB > root (hd0,0)
[ yadda yadda resierfs , basically no errors here ]
GRUB > kernel (hd0,0)/boot/vmlinuz
[ yadda no errors here ]
GRUB > setup (hd0)
[Checking for /boot/grub/stage1..... yes
etc etc

]

But it keeps telloing me things like (hd0,5)/boot/menu does not exist.

It's the old GRUB basically (when I had the OS on hd0,5)

Any guidance much appreciated. If I can get into Linux successfully I can use yast to set GRUB up again.

Note: I know why it's happened now... I reconfigured GRUB whilst in the OS running on hd0,5 rather than hd0,0.

Thanks Smilie
# 2  
Old 06-07-2005
Ermmm... sorry, this is the second time I've answered my own post today :P

If you get past the errors, then you get to a low graphics menu.

From there you can edit the GRUB commands directly and boot up.

*cough*

Carry on Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

"/boot/grub/grub.conf" VS "/etc/grub.conf"

can someone please explain me the difference between these two files: "/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies

2. Red Hat

Can we specify which grub.conf to use in grub-install.

Hi, Can we specify which grub.conf to use while installing grub on RHEL. We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf. Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies

3. Linux

Grub Error 25

Booting Problem: Error 25: Disk read error25: Disk read error This error is returned if there is a disk read error when trying to probe or read data from a particular disk. Does this meant I will have to change my hard drive with a new one or will this be resolved by formatting or wiping out hard... (3 Replies)
Discussion started by: etcpasswd
3 Replies

4. UNIX for Advanced & Expert Users

Mail with several attachments screwed up in Lotus Notes

Hi everybody! I needto send a mail with several attachments to a foreign recepient using the following command line: neo$ (cat mailbody; uuencode file1 file1.txt; uuencode file2 file2.txt) | mailx -m -s "Mail with two attachments" john.hancock@mailserver.com The result is just fine on... (3 Replies)
Discussion started by: marvin70
3 Replies

5. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem: The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies

6. Linux

grub help

in dual os grub will ask like this (linux 9 (red hat)) linux(bigmem) linux(smallmem) dos so i want that grub will ask like this dos linux(bigmem) linux(smallmem) how to do this (8 Replies)
Discussion started by: seshumohan
8 Replies

7. UNIX for Dummies Questions & Answers

I screwed up linux bad

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get... (2 Replies)
Discussion started by: farhan00
2 Replies

8. Linux

I screwed up linux really bad...

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get to a... (1 Reply)
Discussion started by: farhan00
1 Replies

9. Linux

I just screwed up!!

Ok, trying to increase the security of my Linux box, I put /sbin/nologin under roots entry in the etc/passwd file. I copied the old passwd file before making this change, but didnt set perms the way I should have. SO now my normal user has NO rights to change the passwd file and ROOT cannot... (3 Replies)
Discussion started by: caddyjoe77
3 Replies

10. UNIX for Dummies Questions & Answers

Ooops there goes lpadmin =0

Hi there thanks for checking in I'm screwed if you can't help me. I have root access to a unix box and i did this. >/usr/bin> mailx marcus@rtt.co.za > /usr/bin/lpadmin which over wrote the lpadmin file which is in /usr/bin How do i get this back. Please help. (2 Replies)
Discussion started by: nemex
2 Replies
Login or Register to Ask a Question