LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2004, 04:52 AM   #1
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Rep: Reputation: 30
Question 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).

Last edited by Nukem; 04-07-2004 at 05:35 AM.
 
Old 04-07-2004, 05:10 AM   #2
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
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 !
 
Old 04-07-2004, 05:29 AM   #3
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Original Poster
Rep: Reputation: 30
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.

Last edited by Nukem; 04-07-2004 at 05:40 AM.
 
Old 04-07-2004, 12:53 PM   #4
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
gid stands for GROUPID.
 
Old 04-07-2004, 01:28 PM   #5
jazzyjazz
Member
 
Registered: Oct 2003
Location: Brussels
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 15
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
 
Old 04-07-2004, 02:58 PM   #6
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
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.
 
Old 04-07-2004, 03:04 PM   #7
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
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 !!
 
Old 04-07-2004, 03:41 PM   #8
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Original Poster
Rep: Reputation: 30
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
 
Old 04-08-2004, 02:27 AM   #9
jazzyjazz
Member
 
Registered: Oct 2003
Location: Brussels
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 15
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
 
Old 04-08-2004, 05:18 PM   #10
brm
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
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
 
Old 04-08-2004, 05:42 PM   #11
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Original Poster
Rep: Reputation: 30
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
 
Old 04-08-2004, 09:04 PM   #12
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Rep: Reputation: 15
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
 
Old 04-09-2004, 03:15 AM   #13
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
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
 
Old 04-09-2004, 06:20 PM   #14
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



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
an idea for dualbooting sunowww Linux - General 1 12-15-2004 01:00 AM
Dualbooting problem J_K9 Linux - Newbie 2 11-10-2004 05:43 AM
Dualbooting again, again, again... Procrastinator Linux - General 4 10-28-2004 11:04 AM
dualbooting XP/slack, bootsect.lnx w/o LILO polynotre Linux - Newbie 2 12-04-2003 04:41 PM
Dualbooting system. Need help. Eits0 Linux - General 6 05-14-2002 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:21 AM.

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