Destroyed GRUB ... Heeeeeeeeeelp :-(
Hi All, I boo boo. I edited the GRUB conf file in YaST and now it won't work. I tinkered and tinkered but finally just did a fixmbr with mt XP CD so I could boot to something. I tried booting to the SuSE fix but didn't know enough about Linux commands to do what I wanted. Before I did any tinkering it booted to a grub prompt: GRUB> Tried many things here but no good. I even booted with Knoppix 3.3 and found the file I think I needed to fix but it wouldn't allow me to. Didn't have permission. Anyway, I want SuSE back .................. Help Thanks Russ
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 similar to my previous post. boot into the rescue system mount the root file system (eg. on /mnt) then chroot /mnt Then I would run YaST to enable GRUB. Your /boot/grub/menu.lst should have some entries similar to this: title linux kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 splash=verbose showopts initrd (hd0,0)/boot/initrd title windows root (hd0,0) chainloader +1 On Mon, 29 Dec 2003 15:40:36 -0800 Russ <bigrig64@comcast.net> wrote:
Hi All,
I boo boo.
I edited the GRUB conf file in YaST and now it won't work. I tinkered and tinkered but finally just did a fixmbr with mt XP CD so I could boot to something.
I tried booting to the SuSE fix but didn't know enough about Linux commands to do what I wanted.
Before I did any tinkering it booted to a grub prompt:
GRUB>
Tried many things here but no good.
I even booted with Knoppix 3.3 and found the file I think I needed to fix but it wouldn't allow me to. Didn't have permission.
Anyway, I want SuSE back .................. Help
Thanks Russ
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/8MXY+wA+1cUGHqkRAuFdAJkBgpIvfMKeC4Y8k5RTnYX4oxxz+ACfbFik 23mjNv4YIGs6RPa3gMNy5W4= =O6Ch -----END PGP SIGNATURE-----
On 12/30/2003 07:40 AM, Russ wrote:
I edited the GRUB conf file in YaST and now it won't work. I tinkered and tinkered but finally just did a fixmbr with mt XP CD so I could boot to something.
I tried booting to the SuSE fix but didn't know enough about Linux commands to do what I wanted.
I don't know what you mean by SuSE fix, but try booting to the Rescue system, login with your root passwd. Then, mount /dev/hdxx /mnt (choose your root partition with the xx's). If you have a separate boot partition, mount it as mount /dev/hdxx /mnt/boot. Then, chroot /mnt. Then, grub-install /dev/hda (Assuming that is the drive you are booting from). Then, Ctl-Alt-Del to reboot. HTH. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Hi Joe, Thanks for the help. I booted to SuSE #1 install CD, then chose 'Rescue System' - chose english, then got this prompt: Rescue login: If I type 'root' then it gives me this: Rescue:~ # (it did not ask for my password) If I try and login as someone else then it will ask for a password but no matter what I put in it says 'login failed'. Anyway, I type 'root' at the Rescue Login: prompt and with no password I get this: Rescue:~ # Then I type '/dev/hdd3 /mnt' And I get 'access denied' This is my setup: Disk 1 (160 gig HD) XP Home 80 gig Swap 1 gig SuSE 79 gig Disk 2 (80 gig HD)(used for storage only) FAT32 25 gig FAT32 25 gig FAT32 30 gig Thanks Russ Joe Morris (NTM) wrote:
On 12/30/2003 07:40 AM, Russ wrote:
I edited the GRUB conf file in YaST and now it won't work. I tinkered and tinkered but finally just did a fixmbr with mt XP CD so I could boot to something.
I tried booting to the SuSE fix but didn't know enough about Linux commands to do what I wanted.
I don't know what you mean by SuSE fix, but try booting to the Rescue system, login with your root passwd. Then, mount /dev/hdxx /mnt (choose your root partition with the xx's). If you have a separate boot partition, mount it as mount /dev/hdxx /mnt/boot. Then, chroot /mnt. Then, grub-install /dev/hda (Assuming that is the drive you are booting from). Then, Ctl-Alt-Del to reboot. HTH.
Russ wrote:
Anyway, I type 'root' at the Rescue Login: prompt and with no password I get this:
Rescue:~ #
Then I type '/dev/hdd3 /mnt' And I get 'access denied'
The correct command is "mount /dev/hdd3 /mnt" -- SuSE Linux 8.2 (i586) 2.4.20-4GB-athlon || Mon Dec 29 20:05:00 CST 2003 8:05pm up 7 days 22:39, 3 users, load average: 0.00, 0.02, 0.10
Terry & Jerry, Thanks to both of you for your help. I finally booted into the Install CD and chose install. Eventually I came to a pop up window with some choices, one of the choices was to 'boot to an existing install'. I chose that and it booted SuSE and from there I went into YaST and fixed my goober and all is well again. (Thanks Jerry for the heads up on that possible route). I'm thinking I am going to have to make a boot diskette so I can get back in case of a problem again. Russ
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 29 Dec 2003 19:18:07 -0800 Russ <bigrig64@comcast.net> wrote:
Terry & Jerry,
Thanks to both of you for your help. I finally booted into the Install
CD and chose install. Eventually I came to a pop up window with some choices, one of the choices was to 'boot to an existing install'. I chose that and it booted SuSE and from there I went into YaST and fixed my goober and all is well again. (Thanks Jerry for the heads up on that possible route).
I'm thinking I am going to have to make a boot diskette so I can get back in case of a problem again. I used to do that, but I found the CDs generally work better, especially if they are bootable.
- -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/8PpO+wA+1cUGHqkRAhNsAJ93948SZYoTbCleqZwQ5g8uCYPsfQCfZgXV 6OeOU30gSMgOBWz/kIFoWsI= =L2mi -----END PGP SIGNATURE-----
participants (4)
-
Jerry Feldman
-
Joe Morris (NTM)
-
Russ
-
Terry Eck