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
  •  


SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G picture

SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G

$49.99



SanDisk 512GB Ultra Luxe USB 3.2 Gen 1 Flash Drive - SDCZ74-512G-G46 picture

SanDisk 512GB Ultra Luxe USB 3.2 Gen 1 Flash Drive - SDCZ74-512G-G46

$35.99



SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46 picture

SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46

$10.99



SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46 picture

SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46

$12.99



Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory picture

Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory

$24.99



Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof  picture

Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof

$8.37



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$4.99



2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1 picture

2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1

$13.00



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$249.37



SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot picture

SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot

$276.48