LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-12-2007, 04:13 AM   #1
s26c.sayan
Member
 
Registered: Nov 2006
Location: Kolkata, India
Distribution: Arch Linux, Ubuntu Feisty, Knoppix Live CD
Posts: 37

Rep: Reputation: 15
How to mount partitions


I have installed Zenwalk 4.4.1 on my box, which I triple boot with existing Arch Linux & Ubuntu installations!
The relevant portions of my /etc/fstab file (from arch linux) is :

Code:
/dev/hda7 swap swap defaults 0 0
/dev/hda5 / reiserfs defaults 0 0
/dev/hda1 /mnt/hda1 ext3 defaults 0 0
/dev/hda3 /mnt/hda3 ext3 defaults 0 0
/dev/hda6 /mnt/hda6 ext3 defaults 0 0

/dev/hda8 /mnt/hda8 reiserfs defaults 0 0
Zenwalk is on /hda8.
I want to be able to mount the other partitions in Zenwalk. However, I dont find out these partitions in /dev while in Zenwalk

How can I mount them???
 
Old 04-12-2007, 07:16 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Use the fdisk utility with the -l parameter to ensure that the disk is organized the way that you think that it is.
Code:
fdisk -l /dev/hda

Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1094     8787523+   7  HPFS/NTFS
/dev/hda2            1095        1155      489982+  82  Linux swap / Solaris
/dev/hda3   *        1156        2249     8787555   83  Linux
/dev/hda4            2250       30401   226130940    5  Extended
/dev/hda5            2250        3343     8787523+  83  Linux
/dev/hda6            3344        4437     8787523+  83  Linux
/dev/hda7            4438       11732    58597056   83  Linux
/dev/hda8           11733       19027    58597056   83  Linux
/dev/hda9           19028       30401    91361623+  83  Linux
Post the results here.

Also, ensure that the mount points that you have put in /etc/fstab actually exist.
Code:
ls /mnt
backup  hda1  hda5  hda8  hdb1   hdd2  hdd6  hdd8  sda2  win_c
cdrom   hda3  hda7  hda9  hdd10  hdd5  hdd7  hdd9  tmp   win_d
Then make sure that the partitions have a file system and that it is the type that you think it is. You can use the mount command to check this. Log in as root and try to mount the partitions manually. If you get an error message that says that you need to specify the file system type then either you have a different type of file system on the partition or there isn't any file system at all on that partition.
Code:
mount /dev/hda9 /mnt/hda9
mount: you must specify the filesystem type
The reason that this happened on my computer is that /dev/hda9 is an encrypted partition so the mount utility doesn't see a valid file system. This can also happen there is no file system at all or if you have put the wrong file system type in /etc/fstab for that partition.

The ext3 partitions can also be tested using the tune2fs utility.
Code:
tune2fs -l /dev/hda6
tune2fs 1.39 (29-May-2006)
Filesystem volume name:   pclos
Last mounted on:          <not available>
Filesystem UUID:          cfd79796-14ea-4127-a75f-5de1541f5902
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              1098880
Block count:              2196880
Reserved block count:     109844
Free blocks:              1461461
Free inodes:              968776
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      536
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16160
Inode blocks per group:   505
Filesystem created:       Mon Jan  8 21:27:14 2007
Last mount time:          Wed Apr 11 11:03:46 2007
Last write time:          Wed Apr 11 11:03:46 2007
Mount count:              66
Maximum mount count:      -1
Last checked:             Mon Jan  8 21:27:14 2007
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
First orphan inode:       533585
Default directory hash:   tea
Directory Hash Seed:      9bc5f881-861b-4b11-a925-78aac3258e23
Journal backup:           inode blocks
Let us know the results.

Last edited by stress_junkie; 04-12-2007 at 07:33 AM.
 
Old 04-12-2007, 08:16 AM   #3
s26c.sayan
Member
 
Registered: Nov 2006
Location: Kolkata, India
Distribution: Arch Linux, Ubuntu Feisty, Knoppix Live CD
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Use the fdisk utility with the -l parameter to ensure that the disk is organized the way that you think that it is.
Thanks!! That fixed my problem!!

When I tried to mount the partitions before running fdisk -l, it reported something like 'the device /dev/sda1 doesn't exist'! Now the problem is fixed though!!
 
Old 04-12-2007, 09:54 PM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
If running fdisk -l by itself fixed the problem, that is very strange. Did I understand you right s26c.sayan? Does anybody have an explanation?
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How many partitions can I mount to / ? rushy2uk Linux - Hardware 9 08-17-2006 10:43 AM
partitions mount problem Pablo88 Linux - Newbie 7 02-18-2006 11:38 PM
can't mount partitions.. neverwhere Linux - Hardware 3 10-03-2004 04:08 AM
How to mount other partitions? hahler2 Mandriva 1 03-26-2004 02:31 PM
Mount Windows Partitions? RedHatMN Linux - Newbie 9 12-15-2001 11:49 AM


All times are GMT -5. The time now is 07:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration