LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual Boot, RPM...all newbie questions (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-rpm-all-newbie-questions-145805/)

l2g 02-13-2004 05:55 PM

Dual Boot, RPM...all newbie questions
 
Hi,
1 = Got w2k running on 1 HD and Red Hat 9 on a second.
made GRUB boot loader install on first sectors of HD but it won't work, so I tried to change it to MBR, change drive order,
create new boot loader (LILO), but to no avail...w2k goes up with no option for me choose. can u help?

2 = I need a PPTP-VPN, and now the installation procedure require kernel and other rpm updates. these seem a bit confusing to me: for instance,
How can I tell linux i'm installing the rpm from a floppy?
or do I need to copy it over to a specific location where the root seeks path to it? never worked with unix functions before you see...

Many Thanks.

Liron.

jschiwal 02-13-2004 06:13 PM

If you do a google search for NT Lilo Boot How to, you will find several howtos on setting up dual booting using the ntldr. If you can use the rescue disk to get into linux, make sure you know which boot= drive is. On your setup, you will probably write the lilo loader to /dev/hdb since that is your linux drive. Then copy the first 256 bytes to a file on a floppy disk. Boot into windows 2000 and copy the file from floppy to the windows C: drive. Lets say you named the file "linux-hdb.lnx". Add the line:
c:\linux-hdb.lnx="Red Hat 9.0"
to the boot.ini file. Then a menu should appear when booting, and you can select the Red Hat 9.0 line to boot.

To copy the first 256 bytes of /dev/hdb's mbr to a floppy disk.
a - mount the floppy: mount -t vfat /dev/fd0 /mnt/floppy
b- copy the file: dd if=/dev/fd0 of=/mnt/floppy/linux-hdb.lnx bs=1 count=256
c - unmount the disk: umount /mnt/floppy

In windows you will need to change the attributes of the c:\boot.ini file so that you can edit it.
attrib -s -h -r boot.ini
Then edit the file adding the line:

c:\linux-hdb.lnx="Red Hat 9.0"

Reboot and you should be set. Make sure to repeat this process any time you change partititions or lilo. I just installed Mandrake Linux 10 Beta 2 last night, and after the boot configuration entered <ctrl><alt><F2> and copied the file while still running the setup program.

Redeye2 02-14-2004 01:50 PM

Remember that the drivers are mounted at /mnt , so just go to that directory and inside the diskette (mounted) run rpm.


All times are GMT -5. The time now is 09:26 AM.