Partitioning advice/help

Z

ZZs

Guest
As ryan said its easy. Really don't need to chroot. Anyway. I let Ryan guide you through.
 


C

ChristiW

Guest
I would like to do it @ZZs way, if he doesn't mind.

FYI - if you want to install debian, take the time to download the CD or DVD iso, not the netinstall.iso - unless you have a direct line into debian's server it will take forever! I am still installing and 30 minutes ago, it said 5 more minutes. When the 5 more minutes starts, they didn't say...
 
Z

ZZs

Guest
I believe @ChristiW liked your way. Please continue. I do too much on this forum anyway.:p
Its not that Ryan, I suppose to leave anytime. I'm on call, got a call now I'm left hanging. -And really frustrated. Sorry I kinda through you to the wolves, so to speak, I got a call but told to wait now I thought u would handle it. It's not as difficult to you and I. For me its harder to teach and communicate as it is for you.
Any way I will fix it but I have to wait. I don't want to start and have to leave. I bbl
 
C

ChristiW

Guest
It's okay @ZZs - I will read the articles that @ryanvade posted and see if I can figure it out. I do appreciate all the support and help you have given me. :)

ETA: Debian's 5 minutes still hasn't started. :p
 
Z

ZZs

Guest
As ryan said its easy. Really don't need to chroot. Anyway. I let Ryan guide you through.
I prefer to change root so everything is copied over. Really not necessary but sometimes I'm anal/
 
C

ChristiW

Guest
Well, it's still not done installing. I swear I will never do netinstall again!!! It's about 3/4 done (from what the red install bar tells me), so it might be a while. :mad:

I looked at ryanvade's links, and understand what fstab is. Made sense what the file means. I read the script but don't really understand it. :p

Now, once it is done installing, I will write out what the partitions are for sda. Right now, sdb is blank. Should I first create 3 partitions (logical or primary?) and then let you know what they are? Then we can proceed?

Wait, sdb is NOT blank. There is sdb1 that is NTFS with 500GB. (primary)

How big should the /tmp partition be? Considering it is cleared when there is a re-boot, probably not very big, right? I don't shut down my laptop very often, only when needed, so I need to plan to have a large enough /tmp partition for a week or so of common use before it gets full.

There is 431GB left on sdb.
should I do these logical or primary?
I figured 225GB for /home
200GB /var
6GB /tmp <<--- is that big enough?
 
Z

ZZs

Guest
/tmp probably needs to be a couple hundred MB's for database. or more depending on the data base. MySQL/MariaDB = 100MB anyone correct me if u have a better answer.
Linux will probably use very little but Xorg will use some. Since you have plenty make it 500MB to 1G. --anyone add your recommendations.

Sorry its the keyboard so sensitive half what I write I have to redo.
 
Z

ZZs

Guest
Where you at is it done or do I need to go back and read and you need help.
 
C

ChristiW

Guest
It's installed, but I don't know how, by command line utility call to tell you what my settings and I don't see that gparted is installed. Let me install that and I will be back to let you know the settings.
 
Z

ZZs

Guest
Well, it's still not done installing. I swear I will never do netinstall again!!! It's about 3/4 done (from what the red install bar tells me), so it might be a while. :mad:

I looked at ryanvade's links, and understand what fstab is. Made sense what the file means. I read the script but don't really understand it. :p

Now, once it is done installing, I will write out what the partitions are for sda. Right now, sdb is blank. Should I first create 3 partitions (logical or primary?) and then let you know what they are? Then we can proceed?

Wait, sdb is NOT blank. There is sdb1 that is NTFS with 500GB. (primary)

How big should the /tmp partition be? Considering it is cleared when there is a re-boot, probably not very big, right? I don't shut down my laptop very often, only when needed, so I need to plan to have a large enough /tmp partition for a week or so of common use before it gets full.

There is 431GB left on sdb.
should I do these logical or primary?
I figured 225GB for /home
200GB /var
6GB /tmp <<--- is that big enough?
All this is fine but I dont understand sdb1. Is this to share windows and Linux? /tmp is huge but you may need it depending on what db u run and programming I'm not sure the space. Mysql easily can use 100MB I use to specify 100MB just for Mysql and mount it seperate. Xorg will use some but you probably won't notice it. So you have plenty for tmp.
Wow I killed my touch pad because I'm tired of re-writting it all. anyway, what is sdb1 for? Is this to share data betwwen Windows and Linux? I don't get it. Every thing looks ok since you have sooo much space. var is large but can be small if its a Oracle data base thats in production but plenty for mysql.
Crap now how do I alt-ctrl back to settings to
 
Z

ZZs

Guest
/tmp probably needs to be a couple hundred MB's for database. or more depending on the data base. MySQL/MariaDB = 100MB anyone correct me if u have a better answer.
Linux will probably use very little but Xorg will use some. Since you have plenty make it 500MB to 1G. --anyone add your recommendations.

Sorry its the keyboard so sensitive half what I write I have to redo.
The keyboard posted this I thought I loss it hahaha
 
C

ChristiW

Guest
Okay, here is my set up. I want to keep my Windows and Linux partitions separate. I have 2 hard drives.

sda = 256GB SSD.
sda1 300MG system reserve /boot (primary)
sda2 165GB NTFS (windows is installed here or better known as "c:") (primary)
(I will have to get back to on what the exact partitions are on there rest, installing gparted now to see it visually as I don't know how to check via command line)

sdb = 1TB
sdb1 500GB primary NTFS (this is drive "d:" on windows)
then I want to move on the rest of the HDD (431.5GB)
/var
/home
/tmp
here.

Make sense?
 
Z

ZZs

Guest
It's installed, but I don't know how, by command line utility call to tell you what my settings and I don't see that gparted is installed. Let me install that and I will be back to let you know the settings.
What partitions are not mounted do you want mounted?
We need the block IDs
Example: blkid /dev/sdb1 <enter>
Copy each one in a file and label them ex: /var Send me your /etc/fstab file as well send them to me in PM Private message
 
C

ChristiW

Guest
we ran into a glich and will make another attempt in the morning.
Thank you @ZZs for all your help and patience with me.
 
C

ChristiW

Guest
@ZZs and I worked until the early morning trying to figure out what I did to mess something up. So, I ended up re-installing. No big deal, I had the cd.iso this time and it only took an hour do install everything. (Only did desktop, laptop and system core utilities- no mail,sql or web server or the like)

The second time installing was much easier. I didn't panic. I just took a deep breath and said "Christi, what are you trying to do? Think it out, we have all day." (yes, I do talk to myself :p )

I am going to write out how I handled it, in case this thread should pop up in a search. It's always nice to find the solution after reading a thread when you're looking for something, so hopefully this will help someone out. If not, at least I have it for future reference, if something happens to my system.

Everything up to partitioning is very intuitive, so I won't go through that. When it came to partitioning, the partitions came up. I noticed that I had 79GB free space on sda. There were already 2 primary partitions, sda1 is mbr and sda2 is primary ("c:") NTFS

1) Created an 8GB primary partition and assigned it to /swap
2) Created a 71GB primary partition and assigned/mounted it to /. (ext4)

Then on to sdb. I already had 1 primary partition ("d:") of 500GB NTFS, so I had 3 more primary partitions left and 431GB.

1) Created a 225GB primary partition, formatted it to ext4 and assigned/mounted it to /home
2) Created a 225GB primary partition, formated it to ext4 and assigned/mounted it to /var
3) Created a 13GB primary partition, formatted it to ext4 and assigned/mounted it to /tmp

(the above was done with trial and error, but that was the end result. I undid a lot of settings before I ended up with the above, those were the ultimate partitions that I pressed the big 'ol "format disk" button)

I created the partitions as primary for a couple of reasons. One, I am still a bit confused on that LVM. I am sure once I study and learn more about partitioning I will understand it better and two, I don't see myself needed to resize or create extra partitions on my laptop. It's how I wanted it to turn out so I am happy with it. I am planning on buying a used server and set it up so I can create some VM and learn how to network a virtual office. (complete with sql, mail, webserver etc). I am sure by the time that comes around I will understand partitioning much better and can do what needs to be one at that time. For now, this is good and I am very happy.

I am quite proud of myself for being able to do this. I know to some of you this is very basic stuff, but I was not understanding it, becoming frustrated and about to give up. But, I didn't and I now have a system that I can work with and I am happy about. Creating a dual boot is challenging in and of itself, but creating a dual boot with multiple drives is bit more challenging and I feel like I accomplished something. :p

Thank you everyone who gave me advice and nudged me along. I couldn't have done it without you, and part of what helped me get it done is I wanted to show you all that your advice really did pay off. So, pat yourselves on the back because I couldn't have done it without you!

Now, off to learn about how to use the command line...:eek:

;)
 


Members online


Top