Operating Systems > Linux and UNIX
dual booting :(
Master of Reality:
ok thanks, the CD does have a rawwrite program for win, i will try it out later.
voidmain:
I'm sorry, my previous instructions will not work with an install CD... Only from a normal boot floppy or bootable CD that has LILO and a normal kernel/initrd. For install CD instructions try this:
1) Boot your Mandrake CD and press "F1" at the splash screen, then type "rescue"
2) Type "mount" and make sure your real root partition is mounted on "/mnt", if it is not, mount it on "/mnt" (you may need to unmount whatever *is* mounted on /mnt).
3) Type "chroot /mnt"
4) If you have a "/boot" partition type "mount /boot"
5) Now run "/sbin/lilo"
6) Reboot
That should be all there is to it, although I personally use a different method using the Install CD, but it would require many more steps and probably confuse the hell out of everyone.
And the easiest way to do it is create a boot disk from another machine that has Linux installed and then use my first example. I assume this is your only Linux machine so this will not help you (I have many so it's easy for me).
[ March 25, 2002: Message edited by: VoidMain ]
Master of Reality:
now, if i do this, will LILO ovewrwrite my EZ-BIOS configuration that i need to use with my 40 GB hard drive?
Master of Reality:
i *tried* something. my /dev/ram3 was mounted. i tried to mount my main partition and it said it couldnt find in /etc/fstab or /etc/mtab/.
so, what am i supposed to do?
voidmain:
Oh no, EZ-BIOS.. Is your computer that old that the BIOS will not handle that large of a drive? You don't have any USER drive types in your BIOS setup? Usually you can get away without having to install EZ-BIOS by setting up an appropriate USER drive type with 1024 cylinders or less and calculating how many heads and sectors per track are needed to make 40GB (there are articles on the net for this, search google). But if you *must* use EZ-BIOS (and you would have to reinstall Windows to remove it) then I would have to do some digging in my memory banks back to the last time I used it (i.e. search google). I'll get back with you on that part. As far as mounting your partition from rescue mode you will have to give "mount" more than just the hard drive partition you want to mount, you need to also give it the mount point.
# mount /dev/hda2 /mnt
should be enough. This assumes you have a "/mnt" directory, and it also assumes nothing is currently mounted on "/mnt" and it also assumes that your root filesystem is on the second partition of your first hard drive. If you still can not get it, I will install Mandrake in a VMware partition and write up some step by step instructions for you. Hopefully you'll get it so I don't have to do this (I don't have Mandrake installed on any of my machines at the moment so I can't give you sure fire instructions).
Also, you don't have to mount your root filesystem on "/mnt" if something critical is already mounted there in rescue mode. Just create another directory and mount your partition on that directory, then do the "chroot" command to that directory. Remember, this is *just* for the purpose of reinstalling LILO.
An alternate to the "chroot" method is to pass parameters to the "lilo" command after mounting your root filesystem so that LILO will do the "chroot" before running (-r <directory>) I believe is the param. That's the way I usually do it. Again, if you do not figure it out I'll try and find time later this evening to install Mandrake and create the procedures for you.
[ March 26, 2002: Message edited by: VoidMain ]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version