LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dualbooting Slack/XP (https://www.linuxquestions.org/questions/slackware-14/dualbooting-slack-xp-167220/)

Nukem 04-07-2004 04:52 AM

Dualbooting Slack/XP
 
GRRRR.... Just installed slack last night. I have a windows partition on this mechine which is used by my parents. I don't think slack detected or mounted the NTFS partition. How do I mount that partition at the boot time and add an entry to lilo.conf for windows XP which is on hda1. I know how to add for fat partitions, but not sure cauz this is a ntfs partition.

btw, is there any way to restore lilo on mbr without having to reinstll the distro, if it was overwritten by windows, because I'm going to have to reformat my windows partition (as usual every few months).

glennardo 04-07-2004 05:10 AM

Here's one line from my fstab file, take this as reference :

/dev/hda1 /mnt/winxp ntfs ro,umask=0222,gid=wheel 0 0

Hope this helps !

Nukem 04-07-2004 05:29 AM

Ya I think that'll work. This look like normal line from a fstab file. But can't figure out what does this do "gid=wheel". I found some examples by google too. But never seen that line.

When I had mandrake before, it was crazy. It had some lines of scripts about supermount and some weard stuff.

glennardo 04-07-2004 12:53 PM

gid stands for GROUPID.

jazzyjazz 04-07-2004 01:28 PM

About your lilo conf if i dont remember wrong ( soz i use grub since some time ) you should add this to boot into your XP system

label="xx"
root=/dev/hda1
table=/dev/hda

coffeedrinker 04-07-2004 02:58 PM

I mount my windows xp partition with:

/dev/hda1 /mnt/windows ntfs auto,ro,umask=000 0 0

Don't know how this differs from the above in functionality though.

glennardo 04-07-2004 03:04 PM

If the mbr overwritten by xp, you can try to boot with slack installation disk, read the instruction, pass the argument at boot promt as shown on the screen, after that u can edit ur lilo ( if there's any changes) and then /sbin/lilo.
Hope this works !!

Nukem 04-07-2004 03:41 PM

Alright everyone, thanks for replying. As of now, I dont think windows overwriting mbr would be a matter cauz, at this point the whole (windows) system is down (as usual). So I'm going have to install windows before Slack to make sure that I won't run into other problems :)

jazzyjazz 04-08-2004 02:27 AM

Quote:

Originally posted by Nukem
So I'm going have to install windows before Slack to make sure that I won't run into other problems :)
yes very importznt to do it in this order and don't forget t put your windows in the first paartition of your first HDD

GL :)

brm 04-08-2004 05:18 PM

Quote:

Originally posted by Nukem
So I'm going have to install windows before Slack to make sure that I won't run into other problems :)
You do not need to reinstall Slack after reinstalling windows. See thread: http://www.linuxquestions.org/questi...hreadid=167720

Nukem 04-08-2004 05:42 PM

I got it working :) :) :) I just installed slack added "/dev/hda1/ /mnt/win-c ntfs auto, umask=000 0 0" to fstab and added
label = "WinXP"
table = /dev/hda
root = /dev/hda1
to lilo.conf. It worked. Thanks everyone who helped me with this :) :) ;)

centr0 04-08-2004 09:04 PM

quick question. im also installing slack, but my linux partition comes before the ntfs partition. slack install doesnt recognize the ntfs and how do i know which /dev/hda the ntfs partition is?

my hard drive is formatted
linux ext2
linux swap
c: NTFS partition (win xp)
d: FAT32 partition

bashrc2 04-09-2004 03:15 AM

fdisk -l /dev/hda

will list all /dev/hdaX

try this in your lilo.conf

other=/dev/hda1
label=winxp
table=/dev/hda

to install lilo again... just type liloconf or liloconfig
or boot with the install cd until your login as root:
mount /dev/hda1 /mnt #assuming your hda1 is /
then type liloconfig

Nukem 04-09-2004 06:20 PM

Quote:

Originally posted by centr0
quick question. im also installing slack, but my linux partition comes before the ntfs partition. slack install doesnt recognize the ntfs and how do i know which /dev/hda the ntfs partition is?

my hard drive is formatted
linux ext2
linux swap
c: NTFS partition (win xp)
d: FAT32 partition

If your hard drive is in that order, I guess your ntfs partition is hda3. I could be wrong here, this is just a guess. Run cfdisk and look at your partition table.


All times are GMT -5. The time now is 02:16 AM.