LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Partition help (https://www.linuxquestions.org/questions/linux-general-1/partition-help-351434/)

Gins 08-09-2005 04:35 AM

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?

oneandoneis2 08-09-2005 04:38 AM

The command "mount" will tell you what partitions are mounted where

F0ul_Olli 08-09-2005 07:00 AM

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

Gins 08-09-2005 10:54 AM

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]#

F0ul_Olli 08-09-2005 11:05 AM

Are these the only partitions on the computer because I can't see your swap partition on there - type 82.

oneandoneis2 08-09-2005 11:11 AM

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

What's in your /etc/fstab file?

Gins 08-09-2005 11:34 AM

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.


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