LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in booting knoppix (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-booting-knoppix-424318/)

alokagrawal 03-13-2006 01:27 AM

problem in booting knoppix
 
hello friends,
i have first install window xp on my pc
then i install debian based knoppix.
but due to some reason i have to formate my windows drive,so when i again install window xp
i am not being able to boot knoppix.
i have 5 drives,3 of windows and two for knoppix.my knoppix drives no. are hd07,hd08.
i made swap at 07 & root at 08;
IHAVE WINDOW BASED GRUB.
AND I AM ABLE TO WORK ON WINDOW XP.
plz try to solve my problem
thanks
alok agrawal

saikee 03-13-2006 06:02 PM

Boot up knoppix CD
log in as superuser (needs it for admin privilege to alter system settings)
make a temporary directory in /mnt, say call it /mnt/hda9
mount your distressed knoppix in (hd0,8) which I assume to be known as hda9 in Linux. Grub counts from 0 so (hd0,8) should corresponds to hda9 in Linux.
change root to hda9, so that you are inside the distressed Knoppix
restore Grub back into the MBR of your hard disk hda
exit and reboot

The complete commands after booting up Knoppix CD are
Code:

su
mkdir /mnt/hda9
mount /dev/hda9 /mnt/hda9
chroot /mnt/hda9
grub-install /dev/hda
exit
reboot

if you have a Sata disk then change every "hda" to "sda".

alokagrawal 03-17-2006 10:18 PM

booting in knoppix
 
hi,
ihave odne what you said but still i don'tget any result .drive is hda8 on which root is placed.
so please tell me problem and result
thanks
alok agrawal

saikee 03-18-2006 07:32 AM

Do you need me to alter all references of hda9 to hda8 in Post #2 and reprint here for you?


All times are GMT -5. The time now is 06:53 AM.