LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-18-2003, 09:29 PM   #1
toddmvc
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
need partition help


I just finished with the install.1 and install.2 root disks and I am trying to mount /dev/hda1-4, but it gives the error "wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted filesystems".
my partitions are as follows: /dev/hda1 Linux, /dev/hda2 Linux swap, /dev/hda3 Linux, /dev/hda4 Linux.
Currently the entire hard disk is formatted to a FAT32 file system, but I don't know if that matters. Thanks.
 
Old 08-18-2003, 09:49 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Todd - do you mean that youve tried to install Slack on a FAT32 filesystem - Slack needs a Linux filesystem to go on - or are you trying to just mount a series of FAT32 partitions into a mount point in Slack?
 
Old 08-18-2003, 09:52 PM   #3
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
Partitioning doesn't really do much per se but chunk off those areas. They still will be in FAT32 format unless you format them. Here are some commands to format them before mounting (remember that data goes bye-bye)

mke2fs /dev/hdXY for an ext2 filesystem
mke2fs -j /dev/hdXY for an ext3
and the mkswap /dev/hdaXY will be used on your swap partition.
 
Old 08-18-2003, 11:00 PM   #4
toddmvc
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the info about how to format the filesystem. I am now able to mount hda1, hda3, hda4. However, I am not able to mount hda2 because I don't know the proper command to mount the swap space. What goes in the xxx's of mount /dev/hda2 /mnt -t xxx
Sorry I'm so new to this, but hopefully I can learn and help others soon.
 
Old 08-18-2003, 11:44 PM   #5
toddmvc
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Also, you mentioned both the ext2 and the ext3. Which filesystem would you reccommend?
 
Old 08-19-2003, 03:39 AM   #6
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
You don't really need to worry about mounting the swap space during your install unless you're really low on memory. But if you want to, the command is swapon /dev/hda2. Once you've installed Slack, there is a file in the /root directory explaining how to set up /etc/fstab for the swap partition.

I would definitely recommend ext3 over ext2 because it provides a little more protection of your data if, for instance, you lose power or shutdown improperly through some other catastrophe, oversight, etc.

Enjoy!
--- Cerbere

[edit] Oops! just remembered, that file about the swap partition might only be in Zipslack. Just add this line:

/dev/hda2 swap swap defaults 0 0

to /etc/fstab [/edit]

Last edited by Cerbere; 08-19-2003 at 03:47 AM.
 
Old 08-19-2003, 04:10 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You can also choose reiserfs. I've always gone with it and haven't had any problems so far. (And this is me without a damn ups and the power being blinky as hell around here.) No real reason except that I just like the idea of an fs designed from the ground up for journaling rather than having journaling bolted onto ext2, which is basically what ext3 is. But definitely either over ext2.
 
Old 08-19-2003, 11:51 AM   #8
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
I use ReiserFS on my Slackware box and it works very well. The main reason I didn't say that was because I don't know the command to format as ReiserFS :P

Also, ext3 should be solid enough to work perfectly, but if you're interested in ReiserFS, it is a good idea because it has a lot of very useful tools in case you want to shrink and mess around with your partitions later on.
 
  


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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

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

All times are GMT -5. The time now is 06:32 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