Make another set of root(/), /boot, /home and other partitions?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Make another set of root(/), /boot, /home and other partitions?
# 1  
Old 10-30-2011
Make another set of root(/), /boot, /home and other partitions?

Hello,
As a purely learning purpose I am trying to make another set of partitions along my existing Ubuntu11.10 box. The reason to do this partition is to try a new Linux system by myself following "Linux From Scratch" (LFS). Because the instruction of LFS seems for very advanced user (I am trying to become!), I post my question here to get some help in detailed, or best scenario a step-by-step tutorial, if possible:
Code:
1) I am trying fdisk to do the job but very nervous if this could erase my current system; and
2) how to use fdisk command for this job (tried man fdisk, but not very sure for this specific job)
3) I tried gparted from the liveCD, still confused about the settings, 
4) and fdisk seems having better control and more suitable for learning purpose, which is preferred.

My current Ubuntu11.10 was installed on the single and the only partition of the hard disk.

Thanks in advance!

Yifang
# 2  
Old 10-30-2011
Start here:

Modify Your Partitions With GParted Without Losing Data | HowtoForge - Linux Howtos and Tutorials

Once you have resized and created free space on your hard disk, you can use that to install another OS.
# 3  
Old 10-30-2011
Have you thought about installing VirtualBox and creating your test Linux in a virtual machine? The installation of VirtualBox is simple, and the installation of a new O/S under it is exactly the same as if it were on a 'bare' system. You'll get to create and size your partitions under the VM without the worry that you'll destroy your real environment.

https://www.virtualbox.org/wiki/Downloads
# 4  
Old 10-30-2011
Thank you both!
What I want to try is the fdisk command line to get myself familiar with console environment. Any idea?
YF
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to make partitions in a text file?

Suppose I have a file named intro.txt and its content is as follows My name is Ankit. I am 18. I am a college student. So I want make partitions in this and store it as 1. name.txt - I am 18. 2. age.txt - I am 18. 3. student.txt -I am a college student. How do I do that in terminal? edit... (1 Reply)
Discussion started by: ANKIT ROY
1 Replies

2. Shell Programming and Scripting

Find users with root UID or GID or root home

I need to list users in /etc/passwd with root's GID or UID or /root as home directory If we have these entries in /etc/passwd root:x:0:0:root:/root:/bin/bash rootgooduser1:x:100:100::/home/gooduser1:/bin/bash baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies

3. Linux

Are /home partitions worth it?

I'm new to the Linux world and whilst I've been learning the ropes, I've read some conflicting opinions regarding the creation of separate partitions for /home and other directories during OS install. Some say that having these directories in separate partitions allows you to reinstall without... (12 Replies)
Discussion started by: maerlyngb
12 Replies

4. Solaris

Fdisk partitions on boot disk and disaster recovery

I'm preparing to recover a Oracle Fire X4170 server in a disaster recovery test at a different location than in prod. I have some questions about fdisk partitions. I'm using Solaris 10 update 10. On my prod server, the boot disk has 2 partitions, diagnostic and solaris. Is the diagnostic... (1 Reply)
Discussion started by: TKD
1 Replies

5. Solaris

How to make Multiple partitions in a slice (solaris sparc 10)?

I am using Solaris Sparc 10,and facing some issues. HD:80gb ; Root = 11gb(currently using) , I have made a parttition in the c0t0d0s2 slice(which is of 60gb & the partition tag is 'usr'),and I have done newfs on -> /dev/dsk/c0t0d0s2 which is mounted on /export (having ufs filesystem). Now... (6 Replies)
Discussion started by: big_zer0
6 Replies

6. Solaris

Need help to boot a server and mount all partitions

Hello, I am having an issue with a SUN FIRE V440. First of all, lots of mirrors and submirrors needed maintenance, so I applied #metasync to fix all of them, but I still couldn't mount all the partitions of the server . I tried to mount manually all the partitions that appear in the /etc/vfstab... (4 Replies)
Discussion started by: feg
4 Replies

7. Ubuntu

make Ubuntu and Red Hat boot partitions

Is it possible to make multiboot partitions of Ubuntu and red hat Linux? (4 Replies)
Discussion started by: sito
4 Replies

8. UNIX for Dummies Questions & Answers

how to set $HOME?

Hi Everyone! I just want to know how to set $HOME. I cant see $HOME in my profile. Below is my profile. export PATH=.:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/mai lservice/sybase/12.5/OCS-12_5/bin:/mailservice/sybase/config:. #export $PATH export... (2 Replies)
Discussion started by: sachin.gangadha
2 Replies

9. Linux

GRUB cannot boot NTFS partitions?

I have an issue with booting NTFS partitions with Grub. I have two HHD 1st HDD with Red Hat 9.0 and Grub as bootloader 2nd HDD with 8 Win partitions all ntfs. I have added the following line in my grub.conf: title Windows2000/Domino 6 root (hd1,0) makeactive chainloader +1 When I... (4 Replies)
Discussion started by: KDE Man
4 Replies
Login or Register to Ask a Question