Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Help please I installed xp then dual booted hardy heron with a lot of help from your good self's here, and for once everything is ok, however today I defragmented ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Ant
    Ant is offline
    Just Joined!
    Join Date
    Sep 2006
    Posts
    45

    Hard drive after dual boot


    Help please
    I installed xp then dual booted hardy heron with a lot of help from your good self's here, and for once everything is ok, however today I defragmented the disc in xp and what shows up is c drive capacity 32.30gb and free space 19.78gb, there is no reference to anything else. In Ubuntu what shows is (34.7gb media) 12.5gb used 19.8gb free, and again no reference to anything else, which leaves me thinking that I got it wrong, I had I thought that I was creating 2 partititions (c)and (f) at about 120 gb each of the 250gb hard drive is there anything can be done in this situation
    thanks in anticipation

  2. #2
    Linux Newbie Geeth's Avatar
    Join Date
    Apr 2008
    Location
    Brisbane Aus
    Posts
    176
    Windows will not show any linux partitions.

    Can you post the outout of

    df -h
    and
    fdisk -l (lowercase L)

  3. #3
    Ant
    Ant is offline
    Just Joined!
    Join Date
    Sep 2006
    Posts
    45

    Hard drive after dual boot

    Hello there I'm new to all this I hope this is right
    :
    Code:
    ~$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda5             197G  5.0G  182G   3% /
    varrun                474M  100K  474M   1% /var/run
    varlock               474M     0  474M   0% /var/lock
    udev                  474M   48K  474M   1% /dev
    devshm                474M   12K  474M   1% /dev/shm
    lrm                   474M   39M  435M   9% /lib/modules/2.6.24-19-generic/volatile
    gvfs-fuse-daemon      197G  5.0G  182G   3% /home/tony/.gvfs
    :~$ fdisk -l
    -desktop:~$
    thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    /dev/sda5 197G 5.0G 182G 3% /
    Size of /dev/sda5 is 197GB.
    Execute this
    Code:
    sudo fdisk -l
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Ant
    Ant is offline
    Just Joined!
    Join Date
    Sep 2006
    Posts
    45

    hard drive after dual boot

    Hello and thank you this is the result
    Code:
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x47954794
     Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        4216    33864988+   7  HPFS/NTFS
    /dev/sda2            4217       30401   210331012+   5  Extended
    /dev/sda5            4217       30047   207487476   83  Linux
    /dev/sda6           30048       30401     2843473+  82  Linux swap / Solaris

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Partition Structure is correct. You have allocated a lot of free space to / partition of Linux ( /dev/sda5 ). You can resize that partition through PartedMagic LiveCD and create new partition or resize /dev/sda1 easily.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Ant
    Ant is offline
    Just Joined!
    Join Date
    Sep 2006
    Posts
    45

    Hard drive after dual boot

    Thank you for your patience I am just thankful that I had not done something wrong, I will now have to learn a bit more before attempting any alterations to partitions,at this stage I would not know the advantages of doing it
    thank you very much

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    I am glad to help you Ant !
    There is no need to resize partition(s) unless you are running out of space in Windows OS.
    Its recommended to create a separate partition for Data sharing though. NTFS is supported by Linux and you can create a new partition to share data.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Ant
    Ant is offline
    Just Joined!
    Join Date
    Sep 2006
    Posts
    45

    hard drive after dual boot

    Thanks for that advice is there a tutorial for that (data sharing) it is not something I thought possible
    thans

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You wont have to do anything special for data sharing.
    Windows OS detects NTFS partition and assign drive letter to it automatically. As Linux support NTFS read/write access through ntfs-3g package, one can add an entry of NTFS partition /etc/fstab file to automount it.

    In my test machine, /dev/sda6 is a NTFS Partition and Windows XP has assigned E: drive letter to it. I created a mount_point ( folder ) /media/data in Linux and edited /etc/fstab file to automount it.
    Code:
    /dev/sda6  /media/data  ntfs-3g   defaults,umask=0 0 0
    I have read/write access to NTFS partitions in both OSes.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •