-
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

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation
$500.00

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$224.72

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage
$225.61

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25
$799.00

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive
$649.00

Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ*
$199.99

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks
$79.00

Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000
$99.95

Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB
$98.95

IBM 3274-51C Controller 3270 mainframe 8" floppy tested to power on
$500.00