Knoppix3.8 Windows dual boot from HDD. To have a boot menu?
Hi,
I am looking for installing Knoppix 3.8 and Windows 2000 on a single disk and have a boot menu as I boot from the hdd.
Can anybody suggest what needs to be done for this?
What I did
I installed Windows on the machine. I used FAT 32 for windows. Left some space unclaimed by Windows. Created Linux,FAT32 and swap partitions in ths unclaimed space.
Booted the knoppix cd. I have installed knoppix from the cd.
The partitions created are:-
Windows FAT32
Linux ext3
Swap 1 gb
FAT32 blank partition created through Knoppix cd size 1 gb.
Windows is the active partition. I have installed the MBR in Linux partition.
When I boot the machine without cd Windows boots.
When I boot with Knoppix cd, I cant mount the Linux partition and the Windows partition and am able to see the Knoppix and Windows files.
Re: Knoppix3.8 Windows dual boot from HDD. To have a boot me
Quote:
Originally Posted by deepak_abc
... I have installed the MBR in Linux partition...
It looks as if what you may actually have done was to choose installation of the Boot Loader into the Partition instead of into the MBR.
This would work if you have an independent boot manager to put in the MBR e.g. SmartBootManager or GAG Boot Manager (you could find these free downloads on the Web ;) ).
However if all you are going to put on the machine is the Knoppix and Windows it would probably be most convenient to re-install Knoppix, this time choosing to install the Boot Loader into the MBR. The installer should detect your Windows and put it in the boot-up menu for you :)
Re: Knoppix3.8 Windows dual boot from HDD. To have a boot me
Quote:
Originally Posted by JohnnyH
I have installed the MBR in Linux partition...
It looks as if what you may actually have done was to choose installation of the Boot Loader into the Partition instead of into the MBR.
This would work if you have an independent boot manager to put in the MBR e.g. SmartBootManager or GAG Boot Manager (you could find these free downloads on the Web ;) ).
[quote]
Thanks Johnny. But I read many posts that if I chose to install the Boot Loader in the MBR then my system will become unbootable. Neither Windows nor Knoppix will boot. Have you tried your solution out and does it work?
Rather than reinstalling I should be able to mount the partition, copy the boot loader with dd and copy it on to the MBR.
As a precaution I have to save a copy of the MBR before I overwrite the MBR and restore this copy if something is messed up. Any idea how to do the above things? I am not new to Unix and have tinkered with unix for many years.
Other posts were to use and configure GRUB. But I didnt find any readymade solution with GRUB with my scenerio. If things go wrong then the only way out is to reinstall Windows and Knoppix. I am not looking at poor man's installtion of Knoppix but a proper installation with boot options.
Re: Knoppix3.8 Windows dual boot from HDD. To have a boot me
Quote:
Originally Posted by deepak_abc
... But I read many posts that if I chose to install the Boot Loader in the MBR then my system will become unbootable. Neither Windows nor Knoppix will boot. Have you tried your solution out and does it work? ...
I have never had any trouble doing this using Knoppix or DamnSmallLinux for example.
If you did have a problem you can always restore the Windows MBR operation by fdisk /mbr from your Windows disk or e.g. a DOS boot disk.
Quote:
Originally Posted by deepak_abc
...Rather than reinstalling I should be able to mount the partition, copy the boot loader with dd and copy it on to the MBR.
As a precaution I have to save a copy of the MBR before I overwrite the MBR and restore this copy if something is messed up. Any idea how to do the above things? I am not new to Unix and have tinkered with unix for many years...
I think that you will find you get into much greater complications if you try to do it this way ;) there is more than just copying involved...
If you have a strong reason for keeping your original Knoppix installation on the partition, it would be simpler and more 'future-proof' to use a dedicated Boot Manager.
Re: Knoppix3.8 Windows dual boot from HDD. To have a boot me
Quote:
Originally Posted by deepak_abc
Windows is the active partition. I have installed the MBR in Linux partition.
If the linux partition is a primary one, you should only need to mark it as active (instead of the windows one). I can't remember for sure if 3.8 installed grub or lilo, but you should see startup entries for both OSs.
I feel I have to configure Grub for the boot menu
At present if I boot frm Knoppix 3.8 cd and mount the Linux and Windows hdd partitions I can see the files in these partitions. I am unable to boot from Knoppix Linux even after making the Linux partition active.
I am able to boot Windows from the HDD at present. First I should be able to boot knoppix from hdd.
I feel that I have to learn and configure grub for the boot menu which will prompt me for WIndows or Knoppix option.
Grub seems to be installed but what next?
Quote:
#mount /dev/hdc2 /mnt/hdc2
# grub-install --root-directory=/mnt/hdc2/boot /dev/hdc2
I ran the above commands and the result is as follows:-
I installed Grub on Knoppix 3.6. I got the following output.(took almost 20 mins to get this error)
grub-install --root-directory=/mnt/hdc2/boot /dev/hdc2Probing devices to guess BIOS drives. This may take along time.The file /mnt/hdc2/boot/boot/grub/stage1 not read correctly.
The file /mnt/hdc2/boot/boot/grub/stage1 exists. I checked it
Then I ran find command from /dev/hdc2 to search for grub. This is what I got. So I feel that grub is installed. But what next now?
Quote:
root@ttyp0[hdc2]# find . -name "grub*" -print
./boot/boot/grub
./lib/grub
./sbin/grub
./sbin/grub-floppy
./sbin/grub-install
./sbin/grub-md5-crypt
./sbin/grub-reboot
./sbin/grub-terminfo
./usr/share/doc/grub
./usr/share/man/man8/grub.8.gz
./usr/share/man/man8/grub-floppy.8.gz
./usr/share/man/man8/grub-install.8.gz
./usr/share/man/man8/grub-md5-crypt.8.gz
./usr/share/man/man8/grub-reboot.8.gz
./usr/share/man/man8/grub-terminfo.8.gz
./usr/share/vim/vim63/syntax/grub.vim
./var/lib/dpkg/info/grub.list
./var/lib/dpkg/info/grub.md5sums
Re: Grub seems to be installed but what next?
Quote:
Originally Posted by deepak_abc
The file /mnt/hdc2/boot/boot/grub/stage1 exists. I checked it
Then I ran find command from /dev/hdc2 to search for grub. This is what I got. So I feel that grub is installed.
Yet it doesn't boot yet, does it? This is not a riddle, see, we can only help on the basis of information you provide.
Something's fishy if it took grub so much time to install - I've never seen this. Also, you should have /boot/grub, not/boot/boot/grub. Perhaps that's my fault and a result of the --root-directory argument; try omitting the "boot" suffix from it (just using the mount point) - or omit the argument entirely and pay attention to possible error messages. Review the /boot/grub/menu.lst file to see if it contains entries for windows and linux.
BTW, this shouldn't be a factor, but why is your disk connected to the secondary controller?
How to configure grub? How to make knoppix bootable from hdd
I changed the configuration of the system.
My configuration is as follows:-
/dev/hda1 Windows xp
hda7 Knoppix version 5.0 partition 8 gb
hda8 swap 600 mb
hda9 fat32 600 mb so that it will be accsible both from Knoppix and Windows.
I installed boot loader in hda7 and not in mbr. I did not install grub in the mbr because windows also may stop booting if something goes wrong.knoppix-installer ran successfully. I saw a dialogue grub is being installed.
After installing I made hda7 active but knoppix does not boot.
I tried to install Knoppix 5.1 on the hdd but the knoppix-installer script did not run susccessfully. It gave error "can not mount /mnt/hdinstall" read only file system.
I feel the problem is this:-
First I need to make Knoppix bootable from hdd without bothering about boot menu for XP and Knoppix.
I have to configure grub so that it gives me a menu to boot Windows from hda1 or knoppix from hda7.
If I install boot loader in mbr, will there be any problems in booting xp? How to restore boot partition of xp in case something goes wrong and I need to revert back?[/b]
Dula boot is working like a charm now
What I did was simple just reinstalled Knoppix and let it write the boot record in the MBR. It didnt disturb the Windows booting and I am getting a boot menu as desired. I did not install boot record as per Johnny's advice and hence spent many hours at the screen with wife shouting . But the + point is I read all about grub, made my own menu, studied recovery process in case Windows MBR is disturbed. Really no gains withiut any pains.
Thanks to JohnnyH, topfarmer, kirol it is working. Thanks to all the Guys. :D
KDM does not come up .Problems do not go away
The Kdm desktop does not come up when I boot from the disk. It says starting kdm and then the screen blinks and I get a login prompt. The m,essage is xdm is not default.
The Graphical desktop was coming up. But then I tried to lock the computer and the screen just went blank. Not knowing how
to come out, I switched off the machine. Since this time the above problem has started.
Grub gone, multiple knoppix version on a single disk and xp
Grub Gurus,
I had xp and knoppix 5.0 set up as a dual boot from a single hard disk. Then I tried to install knoppix games cd in another partition. While setting this up I overwrote the grub partition and was left with error 17 while booting. Neither knoppix or Windows would boot. So I recovered the windows mbr and windows comes up fine now.
My Knoppix partition is intact with all files in place.Now how do I install the grub in MBR?
I had deleted a partition and made an ext3 partition when I boot from the knoppix games cd and run knoppix-installer I do not get this as the choice to install the OS. It offers to install the OS in my Knoppix 5.0 partition, so if I go ahead the 5.0 partition would be overwritten with Games partition whereas I want games as another bootable partition. Or does it mean that I cant have 2 Knoppix bootable partition in the same disk drive?