Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-13-2004, 05:55 PM   #1
Registered: Feb 2004
Distribution: Red Hat 9, Slackware 9.1
Posts: 55

Rep: Reputation: 15
Question Dual Boot, RPM...all newbie questions

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.

Old 02-13-2004, 06:13 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.
Old 02-14-2004, 01:50 PM   #3
Registered: Feb 2004
Posts: 489

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


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
Newbie questions: How do I set up a dual-boot system? What order to install OSes in? Dawnshadow Linux - Newbie 5 03-22-2005 02:59 PM
Newbie questions: about Apache & RPM tiger0516 Linux - Newbie 2 08-12-2004 06:35 PM
Newbie needs help with dual boot w/XP senorjuice Linux - Software 5 12-08-2003 01:54 PM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 08:57 PM
Newbie - Dual Boot RH 9 Questions johnny_575 Linux - Newbie 6 08-20-2003 03:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:26 PM.

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