Sponsored Content
Operating Systems Linux Ubuntu [SOLVED] Dual boot Windows 7 and Ubuntu on USB Post 302740173 by bakunin on Wednesday 5th of December 2012 04:50:55 PM
Old 12-05-2012
Notice that Linux usually uses not one but several partitions (=filesystems). Installing all in one partition is possible but in the long run not a very good idea, IMHO.

The partition layout i found most satisfying over time is like the following, but i have to admit i don't have any Windoze-partitions on any of my systems.

Code:
/boot    128MB
/        10G
/home    5G
swap     =RAM

I usually put the "/home", "/" and "swap" in a LVM volume group leaving the remainder of the disk free, so that i can add space to any filesystem which might need it later.

"/" only contains system files and usually 10G is sufficient. Most of my installations take initially about 2GB, which will grow later as updates run in, but 10G should work for some time.

"/boot" only holds the kernel image and some GRUB-configuration files. 128M will be all you ever need. Habitually i put this partition at the beginning of my disks, because many years ago Linux was not able to boot from a disk cylinder >=1024. These times are long gone, but habits die hard. It needs to be on a separate partition because Linux cannot boot from an LVM partition.

"swap" equal the size of your RAM is a good starting point. If the usage pattern of your system is not completely far out of the normal average it will be OK. Once your system starts paging heavily on a regular basis you should consider upgrading your RAM anyway.

How much you need in "/home" depends on you. You will probably have to fine-tune this. If you use an LVM you can dynamically make the FS bigger. I have usually several Linux/Unix-distributions on my laptop, so i share the LVM partitions and make sure every distro uses the same UID for my user. This way i can share my HOME directory in different distributions.

When installing several distributions in a multi-boot system i give every distribution its own "/" filesystem, but they share the swap and the "/home". They all start from the same "/boot".

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Loading windows on a dual boot

I want to dual-boot Windows 98 and Redhat 7. My scheme for doing this is to partition into: A FAT32 partition for windows A Linux partition for root A swap partition A boot partition My question is: At what point do I setup windows on the FAT partition? Would I do it from the command line... (5 Replies)
Discussion started by: Furtoes00
5 Replies

2. UNIX for Dummies Questions & Answers

Dual boot Redhat with Windows 2k or XP

I know this is a common question, but.... I am working on 2 seperate computers. Each machine has one hdd. I want to Install Redhat with Win2k on one machine, and Redhat with Xp on the other. I know there are some issues with the install sequence to get Grub to work with both, but I am a little... (4 Replies)
Discussion started by: jeremiebarber
4 Replies

3. UNIX for Advanced & Expert Users

windows -linux dual boot............

I am trying to implement a dual boot on my laptop ... using a small xp partition and fedora core 269.1-fc2 i686 linux kernel.. so far I have had to log off and reboot to enter the other partition... but this is getting frustrating.. windows is on /dev/hda1 and 1-5 is on the linux partition. I have... (8 Replies)
Discussion started by: moxxx68
8 Replies

4. UNIX for Dummies Questions & Answers

Dual Boot between UNIX and Windows

I am planning to install UNIX (SunOS) on my computer which has two hard disks C: and D: C drive already have operating system which has windows installed on it and I use it on daily basis. D drive is empty and has like 40GB space, I want to partition D: by half half and want install UNIX on... (1 Reply)
Discussion started by: DataSheet
1 Replies

5. UNIX for Dummies Questions & Answers

Windows And Unix, Dual Boot

Hello! I must find a way to use unix in my PC. I have a Dell Intel Pentium 4 CPU 3.2GHz, 1Gb RAM.It came with windows xp but in order to get some software running I have to be able to work on unix! Is it posible to set up a unix and Windows dual boot configuration? I was sure it was posible but... (2 Replies)
Discussion started by: isidora10
2 Replies

6. Ubuntu

Urgent Help Needed: Installing Dual Boot Ubuntu

Hi, I have installed Ubuntu 5.04 on my second Hard Drive. My first HD contains windows. When i make my 2nd HD as boot device, i see GRUB Menu (i.e. stage 2). On trying to boot Ubuntu, I get an Error 15: File missing problem. The FS shown was FAT. On trying to boot Windows, I am presented... (5 Replies)
Discussion started by: karthikb23
5 Replies

7. Ubuntu

Fedora Windows XP Prof dual boot

Faced with a "learn the new platform at your own expense or lose your job" ultimatum, I bought a Maxtor internal HD and added it to my older HP desktop which had been upgraded from Windows to Windows Professional. I installed Fedora on the new 500 GB HD and tried putting the Fedora boot partition... (5 Replies)
Discussion started by: dba18
5 Replies

8. UNIX for Dummies Questions & Answers

installing centos dual boot with ubuntu

I have installed ubuntu desktop on my hard drive and I gave it all the hard drive. Now I want to repatriate the hard disk and give half of it to anther ext4. How do I do that? Can I do it fron with in the ubuntu? Second when I install the centos, how can I make to recognize the ubuntu and... (0 Replies)
Discussion started by: programAngel
0 Replies

9. Android

Android x86 version dual boot with ubuntu

Hi, i came across this android x86 OS Link. there is a live cd and HD installation. i try the live cd and HD installation in the virtualbox and its working fine. im interested with this x86 platform. since i had a viewsonic viewpad 7 android 2.2.Does anyone try to dual boot this Android x86 OS... (0 Replies)
Discussion started by: jao_madn
0 Replies

10. Ubuntu

Copy existing Ubuntu to boot from USB

Hello all, I am looking for a way to copy the existing Ubuntu server 12.04 to a USB (with all the packages and such) and make it boot from the USB. I have seen other threads about copying the CD image to the USB, which is not exactly I am looking for. Before I start diving into anything I... (4 Replies)
Discussion started by: br1an
4 Replies
PARTED(8)							 GNU Parted Manual							 PARTED(8)

NAME
GNU Parted - a partition manipulation program SYNOPSIS
parted [options] [device [command [options...]...]] DESCRIPTION
This manual page documents briefly the parted command. Complete documentation is distributed with the package in GNU Info format; see below. parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux- swap, FAT and FAT32 partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks. OPTIONS
-h, --help displays a help message. -i, --interactive where necessary, prompts for user intervention. -s, --script never prompts for user intervention. -v, --version displays the version. COMMANDS
[device] The block device to partition. [command [options]] Specifies a command to parted. If no command is given, parted will give you a command prompt. Commands are: check partition does a simple check on partition. cp [source-device] source dest copies the source partition's filesystem on source-device (or the current device if no other device was specified) to the dest partition on the current device. help [command] prints general help, or help on command if specified. mkfs partition fs-type make a filesystem fs-type on partition. fs-type can be one of "FAT", "ext2" or "linux-swap". mklabel label-type Creates a new disklabel (partition table) of label-type. label-type should be one of "bsd", "gpt", "loop", "mac", "mips", "msdos", "pc98" or "sun". mkpart part-type [fs-type] start end make a part-type partition with filesystem fs-type (if specified), beginning at start and ending at end (in megabytes). part-type should be one of "primary", "logical" or "extended" mkpartfs part-type fs-type start end make a part-type partition with filesystem fs-type beginning at start and ending at end (in megabytes) move partition start end move partition to start at start and end at end. Note: move never changes the minor number name partition name set the name of partition to name. This option works only on Mac and PC98 disklabels. The name can be placed in quotes, if necessary print displays the partition table quit exits parted resize partition start end resize the filesystem on partition to start at start and end at end megabytes rm partition deletes partition select device choose device as the current device to edit. device should usually be a Linux hard disk device, but it can be a partition, software raid device or a LVM logical volume if that is necessary set partition flag state change the state of the flag on partition to state. Flags supported are: "boot", "root", "swap", "hidden", "raid", "lvm" and "lba". state should be either "on" or "off" REPORTING BUGS
Report bugs to <bug-parted@gnu.org> SEE ALSO
fdisk(8), mkfs(8), The parted program is documented fully in the GNU partitioning software manual available via the Info system. AUTHOR
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others). parted 18 Mar, 2002 PARTED(8)
All times are GMT -4. The time now is 10:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy