Results 1 to 10 of 10

Thread: cfdisk and partioning (I know there is already much about it

  1. #1
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    14

    cfdisk and partioning (I know there is already much about it

    Hi Folks,

    dropping into knoppix, I realised that there is also a siegfried distri around that seems to be useful for my scenario at home.

    It is based on knoppix 3.3 afaik so it should be a kernel above 2.4.19
    I am noob on linux although I am looking into the scene for quit some years now.
    Here is my problem:

    I manually configured my partinions with cfdisk and for a first run I'd like to have 3 primes with
    /dev/hda1 as swap (500MB)
    /dev/hda2 as root (2,5GB)
    /dev/hda3 (~152 GB) that I tried to set as home

    root is ext3 I did try to set the type to hda3 also to ext3 but it does not display as for hda1 and hda2. There it says 'swap' and 'ext3' behind the partionions. Hda3 has nothing behind it.
    writing the ptable cfdisk tells me that it could not reload partition table and asks for a reboot.
    After rebooting it shows the same scenario. I tried to set it as 'swap' than it is shown but I do not need 2 swaps.

    Where is the mistake?

    Thanks in advance
    McGyver

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Did you look at the sticky about partitioning and cfdisk? Especially these parts of the first post:
    Partitioning:
    Logical Drives (extended partitions).


    BTW, with that much diskspace I would allocate 5 GB for root unless you're planning some heavy downsizing of the install.

  3. #3
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    14

    @Markus

    Thanks for the hints.

    Yes I gone through it but I did not get the clue it seems. When I set the type, nothing happens. I come back to the screen and it still says /dev/ hda3 | Linux|[empty]| size.
    And it says for the other partitions swap for hda1 and ext3 for hda2 where it is empty for the third partition.

    I think I will not need more than the 2,5 GB because I do not need something like open office because the only purpose will be a file server for linux clients and a samba for backup or so.

    McGyver

  4. #4
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    14

    I think I do not have to understand everything

    ... ok I did it with qtparted instead of cfdisk and now I have set it to jfs, but cfdisk still shows me nothing than Linux for hda3 is this ok?

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323

    Re: I think I do not have to understand everything

    Quote Originally Posted by McGyver
    ... ok I did it with qtparted instead of cfdisk and now I have set it to jfs, but cfdisk still shows me nothing than Linux for hda3 is this ok?
    That's probably ok, IIRC cfdisk says nothing more for me either. You could check with "sudo fdisk -l" but it should work. I take it you clicked "commit" in qtparted and formatted the partition.

    I think I will not need more than the 2,5 GB because I do not need something like open office because the only purpose will be a file server for linux clients and a samba for backup or so.
    Should be enough for that. I have a Kanotix install as an ssh server and the root takes up ~1,2 GB and I could still remove a lot, like the X-server.

  6. #6
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    14
    oups, yeah
    the ssh is running on my machine too, but I could not connect - have still to learn a lot. For the fli4l router it was much easier. They made it really simple for rookies.
    How ever, I will read a little bit more in the docs and hopefully come through.
    and yes I formatted the partition and now it is mounted as /home - seems to work.

    Siegfried is not that much as far as I see at the moment so it will be suffiecient to have this 2,5GB. Anyway it is the first install for that "Server" and it will not have much to do - it will more or less just be a backup for my data, like a NAS - but much cheaper as the hardware was there (o:

    Thanks so far
    McGyver

  7. #7
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    15

    ...

    http://www.gentoo.org/doc/en/handboo...?part=1&chap=4

    if u set yours up using that it will work...

  8. #8
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    14

    Working /home

    Hi Folks,

    thanks so far!
    hda3 seems to be trustable. I set /dev/hda3 to /home in fstab and moved the old /home/*files* to.
    I also was able to samba-share a /home/*user* directory to the network to write to and copied 500Mb to it. Seems to be consistent.

    Now the partition issue is gone comming to a new roadblock: It seems that I did not understand the security strategy of linux completly as I am trying to set /home/public as a samba-share writeable to all users in the network. But it results in having only read access to that share. But this is a totally other story.

    As I am fine now with my partitions, thanks for your support on this issue.
    cu
    McGyver

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Hmm, I don't use samba, but I have a ext3 partition on the server that is rw for all users. There's probably more than one way to do this, but my solution was to add grpid to it's options in fstab and set group of the mountpoint to users. That way all new files and dirs get the group users. So you could make a new partition and mount /home/public under that. Not sure what would happen if you set grpid now as an option for /home. Might be worth a try since /home/username shouldn't be affected unless you create a new user, and for that you can remount it temporarily without the grpid option.
    My point is that having a partition writable is not the same thing as all users being able to read all files already there. You can do this with umask of course but personally I prefer quite strict umasks. Again, I don't use samba so take this for what it's worth. A guess, perhaps and hopefully an educated one but still a guess.

  10. #10
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    14

    working now!

    Hi,
    you were right! The public had a root root and for others just a r. I now changed it with chmod and chown. Now it is working as it should work. Now I have a new view on the security logic within linux...

Similar Threads

  1. Screen looks ugly + partioning
    By lost-member in forum General Support
    Replies: 2
    Last Post: 02-21-2006, 04:40 AM
  2. Partioning Drives etc etc....
    By giant_toaster in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 11-21-2005, 08:30 PM
  3. KNOPPIX installer to Windows2000,XP,No partioning
    By patelbhavesh in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-11-2004, 05:12 AM
  4. Knoppix & partioning new disk on Maxtor ATA/100 PCI Adap
    By e.newed in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-11-2004, 05:20 AM
  5. Help with cfdisk
    By douglas2 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-11-2003, 03:15 AM

Posting Permissions

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


Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD picture

Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD

$75.00



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$299.99



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$721.06



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w  picture

Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w

$315.00



1U Supermicro Pro Server X10DRU-i+ 2x Xeon E5-2620 V3 32GB DDR4 RAM 4x 10GE RAIL picture

1U Supermicro Pro Server X10DRU-i+ 2x Xeon E5-2620 V3 32GB DDR4 RAM 4x 10GE RAIL

$190.00