-
Help needed - I totally fried my grub...
OK, here's the scenario....
I have been using a dual boot system from one 160 GB hard drive. I have three partitions. The first is hda1 with Windows XP. Then I have my Debian sarge loaded into hda2. I couldn't get past how easy it was to work with both systems using Knoppix so I created a third partition using qtparted and loaded a knoppix boot there. (I know, knoppix is supposed to be used from CD/DVD but the basic setup is sufficient for my needs and I have already scratched up 3 CD's and DVD's and had plenty of disk space so I figured why not?)
Loaded Knoppix into the third partition and it booted fine. The problem is that it no longer showed my Debian partition, just Knoppix and the XP boots. I read that there was a workaround for fixing the Debian mbr and from knoppix did the root console, start grub, root (hd0,1), setup (hd0), then reboot.
I'm a total Linux noob I know so you can imagine my surprise when I tried to reboot and all I get is a little smiley face at the bottom of the screen .
Well, at least I still have one working Knoppix CD left so any help here would be appreciated.
I'm going to keep scouring google for potential help. I will be checking back. Any ideas other than the obvious "Well, you pretty much screwed up so you might as well start from scratch" and I will be forever in your debt.
-
Senior Member
registered user
Re: Help needed - I totally fried my grub...

Originally Posted by
thaumielx72
Loaded Knoppix into the third partition and it booted fine. The problem is that it no longer showed my Debian partition, just Knoppix and the XP boots.
That's right - and a pity. Knoppix-installer adds Windows partitions automatically to the GRUB but not Linux partitions 
But the situation is not very bad and is easy to fix. First you can add Debian to be booted from Knoppix's GRUB and then reboot to Debian and install Debian's GRUB if you prefer it.
If you don't know how Debian can be booted, just mount /dev/hda2 look how
/boot/grub/menu.lst looks and add Debian section to the corresponding Knoppix's Grub and save the file. Your Debian section looks like this:
Code:
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda2.
title Debian (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2
initrd /boot/initrd.img
savedefault
boot
So you need an editor to do this all and the easiest one is Midnight Commander what you can start from the console sudo mc. You must have root priviledges to do changes to you menu.lst file.
-tapsa-
Similar Threads
-
By HackMaster in forum General Support
Replies: 7
Last Post: 05-23-2005, 11:50 AM
-
By tfoso in forum MS Windows & New to Linux
Replies: 8
Last Post: 03-05-2005, 08:28 PM
-
By shakejello in forum MS Windows & New to Linux
Replies: 1
Last Post: 01-18-2005, 05:12 PM
-
By Mustang64 in forum General Support
Replies: 4
Last Post: 11-24-2004, 08:13 PM
-
By igs in forum Hardware & Booting
Replies: 15
Last Post: 10-24-2004, 08:24 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Amiga Model 1080 RGB color CRT monitor - Parts Or Repair - Doesn’t Power On
$100.00

RGB2HDMI Amiga 500 UltraLong (Accelerator Friendly) HDMI Games, non-RTG A500
$50.00

Microbotics Starboard 2MB + SCSI Sidecar for Amiga 1000 Vintage Computer READ
$329.00

Amiga Emplant Emulator Card For Commodore Amiga 2000 4000 3000
$249.00

(10) BOXED Games for Commodore Amiga 500 600 1000 1200 2000 3000(T) 4000(T)
$329.98

Commodore Amiga 4000 Motherboard Rev B - untested
$225.00

BlueSCSI v2 Internal 50-pin 3.5" SCSI Drive ,Wi-Fi,For Macintosh, Amiga, PC
$52.99

Amiga Video to SCART RGB cable with detachable audio - USA Seller
$28.99

Best FlickerFixer RGB2HDMI Amiga HDMI Games, non-RTG A2000CPLDSlot v2.2
$75.00

External fully assembled GreaseWeazle 3.5 inch Floppy Drive
$135.00