LinuxQuestions.org

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

alokagrawal 10-06-2006 11:43 PM

booting in knoppix
 
first i have xp & knoppix in my system & i have window bootloader but due to some problem i have install windows 98 & formate xp.But now i am not able to boot linux
tell me how can i do it through window based grub
which is similar to boot.ini in xp as in windows 98

bigjohn 10-07-2006 03:02 AM

Quote:

Originally Posted by alokagrawal
first i have xp & knoppix in my system & i have window based grub but due to some problem i have install windows 98.but now i am able to boot linux
tell me how can i do it through window based grub
which is similar to boot.ini in xp as in windows 98

Erm I'm not quite sure what it is, that you are asking.

You have XP and knoppix, yes ?

"window based grub" - does this mean grub or a windows bootloader ?

You installed windows 98 - Ok understand that, but where did you install it ? Over the top of the XP, Over the top of the knoppix or into a seperate partition.

"but now i am able to boot linux tell me how can i do it through window based grub which is similar to boot.ini in xp as in windows 98" - So you can boot linux Ok? but you want to boot it though grub or a windows boot loader ??

I'm presuming that english isn't your first language ? Which, if so, is fine. We do try to assist everybody who asks, but if you could clarify what it is, that you want to do - someone should then be able to assist.

regards

John

p.s. If you have installed knoppix (which is a good distro), you might want too look at kanotix as well. It's a polished up version of knoppix and I understand that it's more suited to hard drive installation. It also uses sources/mirrors/repositories that are mainly proper debian ones. I feel that it's a very much improved version of knoppix which is why I installed it on my PC when I was getting annoyed by Kubuntu (which didn't want to allow me to do some of the stuff I was attempting.

saikee 10-07-2006 05:22 AM

I got the feeling that you are using Grub4Dos. In such a case just re-install Grub4Dos inside Win98.

Alternatively you can use a Live CD to boot up the PC, mount the Knoppix partition, change root into it so that you are inside Knoppix, restore Knoppix boot loader into the MBR and edit Knoppix's boot loader to dual boot Win98 if it is not already doing it.

alokagrawal 10-09-2006 03:09 AM

Quote:

Originally Posted by saikee
I got the feeling that you are using Grub4Dos. In such a case just re-install Grub4Dos inside Win98.

Alternatively you can use a Live CD to boot up the PC, mount the Knoppix partition, change root into it so that you are inside Knoppix, restore Knoppix boot loader into the MBR and edit Knoppix's boot loader to dual boot Win98 if it is not already doing it.


thankyou reply,but don't know how to mount & restore Knoppix boot loader into the MBR and to edit Knoppix's boot loader to dual boot Win98.

saikee 10-09-2006 03:34 AM

I try not to repeat them but you can have a look at the last link of my signature.

The commands are essential to any Linux user who wants to grab Linux by its horn. They are just basic ccommands in the terminal mode. As they affect the system you should invoke the root privileage before playing around with them, by teriminal command "su" then followed by the root password. Most Live CD would waive the root password requirement.

craigevil 10-09-2006 04:16 AM

I agree with BigJohn, if you like Knoppix you will love Kanotix. If you are using GRUB to boot:

Here are a couple ways of doing it and hopefully one of them will work for you:

Boot with a Knoppix CD (or some other live-cd), or use a rescue/boot floppy like Tomsrtbt ( http://www.toms.net/rb/ ); determine your root partition and mount it to a temporary mount point; then chroot into it; then reinstall GRUB:

sudo mkdir /mnt/temp

sudo mount /dev/hda1 /mnt/temp
(change /dev/hda1 to match your own root partition)

sudo chroot /mnt/temp

sudo grub-install /dev/hda

or...

determine your root partition, then mount it "dev" option enabled with write permissions. If the filesystem isn't mounted you'll need to mount it like this (be sure to change "hda1" and "hda" to match the location/device in your own system):

sudo mount -o dev,rw /mnt/hda1

if it's already mounted, remount it like this:

sudo mount -o remount,dev,rw /mnt/hda1

now restore grub like this:

sudo chroot /mnt/hda1 grub-install /dev/hda

if it doesn't work using chroot, try remounting as outlined above and do:

sudo grub-install -root-directory=/mnt/hda1 /dev/hda

Kanotix has an option to "Restore Grub", simply boot with the livecd and choose restore grub.


All times are GMT -5. The time now is 10:13 AM.