PDA

View Full Version : HDD Install won´t boot (Grub in root partition:-( )



weirdjd
06-26-2005, 11:08 PM
Hi,

I installed Knoppix 3.9 on hda3 in the "Beginner"-Mode (i think). I decided not to install Grub in the mbr, because i was afraid of losing my Win XP-Installation. "Grub-MBR-Install" sounds really dangerous...:oops:

Is there any way to install Grub to the mbr yet? Or do i have to run the whole install-script again?




weirdjd

UnderScore
06-27-2005, 12:44 AM
A HD install of Knoppix is not recommended as it is not easy to support if you are not an expert or do not want to become an expert. See http://www.knoppix.net/wiki/Hd_Install_HowTo

I assume that your C: drive is partition hda1 & your Linux install partition is hda2 is using the ext3fs filesystem.
Boot the Knoppix 3.9 CD. In a konsole window, at the command prompt, mount the hda2 partition.
sudo mount -t ext3 /dev/hda2 /mnt/hda2
Then you must check to see if the grub boot menu exists.
sudo kate /mnt/hda2/boot/grub/menu.lst

If it doesn't, well it is probably easier to run through the whole install again. If it does exist then you can proceed. You will chroot into the /mnt/hda2.
sudo chroot /mnt/hda2/ /bin/bash

If that is successful then then run grub-install & apply grub to the MBR.
grub-installer /dev/hda

If that is successful, type exit:
exit

Then unmount the /mnt/hda2.
sudo umount /mnt/hda2

Then reboot knoppix via the GUI or with the command:
sudo init 6

if you have any problems with this, then please leave detailed info & questions.
I hope this helps.
James

weirdjd
06-27-2005, 09:40 AM
I know, I know... it's a live-cd. I thought i could speed it up a little.
I tried the persitent-image-thing - and it works. Thats enough for the moment. I will try to install a real Debian during the semester break.

Thanks anyway.

weirdjd