Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18
Hi Gasper, Please see below the output of the commands you told me to run. df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 20641788 3331512 16261636 18% / ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux User
    Join Date
    Jul 2007
    Location
    Kronos
    Posts
    286

    Hi Gasper,
    Please see below the output of the commands you told me to run.

    df -l
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda6 20641788 3331512 16261636 18% /
    udev 513820 92 513728 1% /dev
    /dev/sda7 110451520 198040 104642784 1% /home
    /dev/sda1 20991996 13859184 7132812 67% /windows/C

    fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xddc4b485

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 2614 20992000 7 HPFS/NTFS
    /dev/sda2 2615 19457 135291397+ f W95 Ext'd (LBA)
    /dev/sda5 2615 2876 2104483+ 82 Linux swap / Solaris
    /dev/sda6 2877 5487 20972826 83 Linux
    /dev/sda7 5488 19457 112213993+ 83 Linux

    If I have understand this right.
    sda1 = is where windows are
    sda2 = ????
    sda5 = swap linux
    sda6 = home?
    sda7 = must be the root.

    I'm confused all I want is to install suse in a particular partition. Is it to late for that now?
    What I have I done now is created a partition (20G) for windows and in the remaining space (140G) I installed Linux. I would like to separate the space where Linux is installed from the rest of the disk and use that space for storage.
    Can I fix this without reinstalling the two OS's?

    Thank you Gasper!!!!!!!!!

  2. #12
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Partition structure is perfect but if you dont want separate / and /home partitions then re-install SuSe. Check this link.

    /dev/sda2 is an Extended Partition. It is just a container/pointer. Extended Partition ( sda2 ) contains all Logical Partitions ( /dev/sda5, 6 and 7 ).
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #13
    Linux User
    Join Date
    Jul 2007
    Location
    Kronos
    Posts
    286
    Thank you for your reply gasper and for the link.

    So, is there a way to separate the partition linux created from the rest of the space?

    Initially, I installed windows on a 20G partition using the partition tool from windows. Then I installed linux on the rest of the space (140G).
    How much space of that 140G Linux occupied?
    Can I isolate the space used to install Linux and used the rest of it for storage?

    Thank you, Gapser!!

  4. #14
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Its possible to shrink partitions and create free space. Post the output of df -h command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #15
    Linux User
    Join Date
    Jul 2007
    Location
    Kronos
    Posts
    286
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda6 20G 3.2G 16G 18% /
    udev 502M 100K 502M 1% /dev
    /dev/sda7 106G 203M 100G 1% /home
    /dev/sda1 21G 14G 6.6G 68% /windows/C
    /dev/sdb1 187G 164G 23G 88% /media/FAT

  6. #16
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    SuSe installer has allocated 100GB to /home ( /dev/sda7 ) partition, 20GB is more than enough. Download PartedMagic LiveCD, boot up from it and shrink /dev/sda7 partition. Create new partitions in FAT32 filesystem. SuSe supports FAT32 read/write access out of box. Post output of fdisk -l command after creating new partitions. I will post instructions to mount new partition(s) in SuSe.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #17
    Linux User
    Join Date
    Jul 2007
    Location
    Kronos
    Posts
    286
    Hey Gasper,
    I used partition magic and shrink the 100GB in FAT32. I can now see this partition in Windows but not in Linux. Can you please post the commands on how to mount this new partition?
    Here is the output after running df -l

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda6 20641788 3333796 16259352 18% /
    udev 513820 96 513724 1% /dev
    /dev/sda7 17724972 195544 16809076 2% /home
    /dev/sda1 20991996 14115708 6876288 68% /windows/C

    I tried fdisk -l but it says command not found.

  8. #18
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You must have root privileges to execute fdisk -l command. Either log in as root or execute su command in Terminal to gain root privileges.

    Create mount point (folder) for each new partition and add it in /etc/fstab file.
    Let say new partition is /dev/sda8. Execute this
    Code:
    mkdir /media/sda8
    Open /etc/fstab file and add this
    Code:
    /dev/sda8  /media/sda8  vfat  defaults,umask=0  0  0
    Save file and reboot machine. Check /media/sda8 folder.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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