LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2005, 04:35 AM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Partition help


The following is my system. I run both Windows XP and Mandrake Linux 10.0 on this computer.

[ka@c83-250-88-242 ka]$ su root
Password:
[root@c83-250-88-242 ka]# sfdisk -l | grep -v Empty | grep -v Extended

Disk /dev/hda: 119150 cylinders, 16 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 119150/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 0+ 228 229- 1839411 16 Hidden FAT16
/dev/hda2 * 261 389 129 1036192+ b W95 FAT32
/dev/hda3 390 7475 7086 56918295 f W95 Ext'd (LBA)
/dev/hda5 390+ 1831 1442- 11582833+ 7 HPFS/NTFS
/dev/hda6 1832+ 3648 1817- 14595021 b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda7 3649+ 4801 1153- 9261441 b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda8 4802+ 6446 1645- 13213431 b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda9 6447+ 7218 772- 6201058+ 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda10 7219+ 7290 72- 578308+ 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda11 7291+ 7475 185- 1485981 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
[root@c83-250-88-242 ka]#

----------------------------------------------------------------------------------

As you see hda9, hda10 and hda 11 are Linux partitions. How do I find my working partiton. When I write something in the word processor and save, it should reside in one of the above partions.

How do I find that partion? What are those 3 partitions?
 
Old 08-09-2005, 04:38 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
The command "mount" will tell you what partitions are mounted where
 
Old 08-09-2005, 07:00 AM   #3
F0ul_Olli
Member
 
Registered: Aug 2005
Location: Flintshire, WALES, UK
Distribution: Slackware
Posts: 57

Rep: Reputation: 15
As a pure guess I would say its /dev/hda9 - its the largest, and I would assume you were aware of that when you installed it!

every little helps!

F0ul Oli
 
Old 08-09-2005, 10:54 AM   #4
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
The following is the output of the mount command. How do you find it?


[ka@c83-250-88-242 ka]$ mount
/dev/ide/host0/bus0/target0/lun0/part9 on / type ext2 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /sys type sysfs (rw)
/dev/ide/host0/bus0/target0/lun0/part10 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask= 0,iocharset=iso8859-1,codepage=850)
/dev/ide/host0/bus0/target0/lun0/part5 on /mnt/win_d type ntfs (ro,umask=0,nls=i so8859-1)
/dev/ide/host0/bus0/target0/lun0/part2 on /mnt/win_h type vfat (rw,umask=0,iocha rset=iso8859-1,codepage=850)
/dev/ide/host0/bus0/target0/lun0/part11 on /tmp type ext2 (rw)
[ka@c83-250-88-242 ka]$


-----------------------------------------------------------------------------------------------------------------------




The following shows all the partitions on my system. I run both Madrake Linux and Windows XP
--------------------------------------------------------------------------------------------------------------------


[root@c83-250-88-242 ka]# sfdisk -l | grep -v Empty | grep -v Extended

Disk /dev/hda: 119150 cylinders, 16 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 119150/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 0+ 228 229- 1839411 16 Hidden FAT16
/dev/hda2 * 261 389 129 1036192+ b W95 FAT32
/dev/hda3 390 7475 7086 56918295 f W95 Ext'd (LBA)
/dev/hda5 390+ 1831 1442- 11582833+ 7 HPFS/NTFS
/dev/hda6 1832+ 3648 1817- 14595021 b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda7 3649+ 4801 1153- 9261441 b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda8 4802+ 6446 1645- 13213431 b W95 FAT32
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda9 6447+ 7218 772- 6201058+ 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda10 7219+ 7290 72- 578308+ 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
/dev/hda11 7291+ 7475 185- 1485981 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
[root@c83-250-88-242 ka]#

Last edited by Gins; 08-09-2005 at 10:56 AM.
 
Old 08-09-2005, 11:05 AM   #5
F0ul_Olli
Member
 
Registered: Aug 2005
Location: Flintshire, WALES, UK
Distribution: Slackware
Posts: 57

Rep: Reputation: 15
Are these the only partitions on the computer because I can't see your swap partition on there - type 82.
 
Old 08-09-2005, 11:11 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
That's very impressive - you appear to have no mounted filesystems. Not even root. I'm impressed!

What's in your /etc/fstab file?
 
Old 08-09-2005, 11:34 AM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
The following is my fstab file.

[root@c83-250-88-242 etc]# cat fstab
/dev/hda9 / ext2 defaults 1 1
/dev/hda10 /boot ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda5 /mnt/win_d ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hda2 /mnt/win_h vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda11 /tmp ext2 defaults 1 2
[root@c83-250-88-242 etc]#


-----------------------------------------------------------------------------------------

What do you mean that I don't have mounted file systems? Yesterday I mounted my Windows XP and copied some important letters which I wrote in Word for Windows program. I just used the 'cp' command and copied.

Last edited by Gins; 08-09-2005 at 11:37 AM.
 
  


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 On
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
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 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 - General

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