-
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

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro 505-2 Server
$280.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$689.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00