LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-10-2005, 12:55 AM   #1
mikgigs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
how to install slackware from files on windows partition


Hello everybody,
i have some problem installing slack..
Yes I know that i can make installation cds but i do not have them now..
and do not have opportunity to buy..anyway..
I have first cd of slackware
and there is an option to install from source files..but i can locate windows partition where source files are..
Please tell me how to install salck where source files are located on windows partition..
thanks
 
Old 06-10-2005, 06:34 PM   #2
camlinux
Member
 
Registered: Feb 2003
Location: north dakota
Distribution: Gentoo, Debian
Posts: 90

Rep: Reputation: 15
I'm confused about what you are trying to do. If you have the first ISO from slackware you should be able to install the minimal number of packages to get up and running, and then download the rest of what you need from the net.

If you need to use files from the windows partition, just mount it. Do you know what filesystem it uses. ntfs or fat will work you just need to tell mount which one it is.
 
Old 06-11-2005, 01:12 AM   #3
mikgigs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
my installation

ok i am already downloaded the packages.. and put them in windows drive for example d:
d:\slack\
and i really have first cd, but is written with a lot of mistakes..i do not want to spoil another 3 cds with the same problems(my cd writer is awful) and i am not in place where i have opportunity to access better hardware(for example i am in forest lab)
but i have net and downloaded everything from slackware ftp....
yes,
my question is really
how to mount in slackware setup my windows partitions
because when i use install from suorce - harddrive and use
path
for example
dev/hda5/slack/
it is not visible
when i check the target section where i choose my linux partition and swap partition
slackware asks me how to be visible my windows partitions, but they will be visible after rebooting..
ok
my question is more simple
now
how to mount in setup my windows partition... and to be visible
 
Old 06-11-2005, 01:19 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
When you boot from your installation CD, after you create a partition for Linux using cfdisk or fdisk on your hard disk and initializing it as necessary with the required filesystem (reiserfs or ext3), then do the following.

Create a mount point in your new Linux partition as root.

Code:
mkdir /mnt/win
Then mount the partition like this:

Code:
mount -t vfat /dev/hda1 /mnt/win
Replace vfat with ntfs if necessary (if it is an NTFS partition) and replace hda1 with the correct partition (hda should be the primary master and 1 should be the Windows partition if it is the first partition in the partition table).

During setup, you will have the option of installing from a local directory. Choose that option and point to the correct directory
Code:
/mnt/win/slack
(if your install files are in the directory is C:\slack).

Regards.

Last edited by vharishankar; 06-11-2005 at 01:22 AM.
 
Old 06-11-2005, 02:13 AM   #5
mikgigs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
wow

wow
exactly
thank you
 
Old 06-11-2005, 03:09 AM   #6
mikgigs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
about slack and ntfs

sorry to bother with this question
what about ntfs partitions
is there problem of slackware to recognize them
i receive a message that fs do not recognize ntfs type...
 
Old 06-11-2005, 04:51 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
What error message do you receive?

Did you try this command?
Code:
mount -t ntfs /dev/hda1 /mnt/win
Regards.
 
Old 06-11-2005, 12:46 PM   #8
mikgigs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
yes i do exactly this command
i receive message like

fs ntfs type not supported..
 
Old 06-11-2005, 02:08 PM   #9
mikgigs
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Original Poster
Rep: Reputation: 0
about mounting ntfs

i suppose that i must to load module which support ntfs..
do you know how to do that?
 
Old 06-14-2005, 12:29 AM   #10
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Code:
modprobe ntfs
But it's not going to be there. I took a look at the kernels supplied with Slackware 10.1, none of them supply ntfs compiled into the kernel, most of them supply it as a module. Which you have found out. The problem is that the ramdisk from which the Slackware installer runs, ie this is what is actually running when you boot to the install CD, does not include the ntfs module. That module is also not included in any of the addon ramdisks for things like network cards, pcmcia and etc, at least not that I saw. Strange that Pat left that out, since NTFS is pretty much mainstream these days in the Windows world, but probably not alot of people installing it from hard disks either.

So with that in mind you'll have to supply it manually. Probably the simpiest way to get it loaded would be to extract the module you need from modules package Slackware provides, copy it to a floppy, and then set it up manually after you boot the PC to the CD. If you don't have a working Linux system to use to extract the module from the package, then you'll need some Windows tool that can handle tarballs (WInRAR is one), ie a Slackware package is just a tar archive that has also been gzipped. Anyway, assuming you do then copy the slackware/a/kernel-modules-2.4.29-i486-1.tgz package into a directory somewhere by itself and then cd into that directory. Then extract it with this command:
Code:
tar zxvf kernel-modules-2.4.29-i486-1.tgz
The module you're looking for is located at lib/modules/2.4.29/kernel/fs/ntfs/ntfs.o.gz within the directory where you extracted the package. Copy that file to a floppy and then boot the PC to the Slackware CD. Once you're booted up and login as root at the login prompt, then run the following commands with the floppy inserted:
Code:
mkdir -p /mnt/floppy
mount /dev/fd0 /mnt/floppy
mkdir -p /lib/modules/2.4.29/kernel/fs/ntfs
cp /mnt/floppy/ntfs.o.gz /lib/modules/2.4.29/kernel/fs/ntfs/
depmod
modprobe ntfs
umount /dev/fd0
That should get it loaded so that you can access the NTFS disks on the PC. If you still get an error about modprobe not finding the module, then try unziping the module, and rerunning depmod and modprobe. Like so:
Code:
cd /lib/modules/2.4.29/kernel/fs/ntfs
gzip -d ntfs.o.gz
depmod
modprobe ntfs
The above is just off the top of my head so it's possible that I missed/forgot something. If it doesn't work, then post back and I'll step through it here and get you more precise steps. Good luck.

Last edited by DaHammer; 06-14-2005 at 12:38 AM.
 
Old 06-14-2005, 12:33 AM   #11
heltreko
Member
 
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
If the module is compiled it's simply:

/sbin/modprobe ntfs
 
  


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
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
getting files from a windows fat32 partition deltaseeker Linux - General 3 07-05-2005 09:39 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
vieuwing files on windows partition Killah Linux - Newbie 5 04-01-2004 11:11 AM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM

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

All times are GMT -5. The time now is 11:54 PM.

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