LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2006, 11:43 PM   #1
alokagrawal
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Rep: Reputation: 15
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

Last edited by alokagrawal; 10-09-2006 at 03:02 AM.
 
Old 10-07-2006, 03:02 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
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.
 
Old 10-07-2006, 05:22 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
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.
 
Old 10-09-2006, 03:09 AM   #4
alokagrawal
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 10-09-2006, 03:34 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
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.
 
Old 10-09-2006, 04:16 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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.
 
  


Reply

Tags
booting, grub, tips


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Knoppix 3.9 g8waytrader Linux - Newbie 5 09-24-2005 04:27 PM
Knoppix 3.6 Not Booting Up [BTV]Aco Linux - Newbie 2 06-17-2005 04:00 PM
Knoppix 3.6 Not Booting Up [BTV]Aco Linux - General 7 06-17-2005 10:52 AM
Knoppix Booting anon061 Linux - Distributions 1 04-28-2005 11:32 PM
booting knoppix hunk420 Linux - Newbie 8 09-23-2004 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration