Installing Ubuntu or Kubuntu, 6.06.1 LTS "Dapper Drake", on a Single/Multi -Boot RAID System - Page 2
Partitioning Your Hard DiskYou need to create the following:
Remember that you cannot have more than four primary partitions on a single hard disk, so if you already have Windows installed, you will first need to create an extended partition across the entire free hard disk space, followed by at least three logical disks inside the extended partition. Use fdisk to partition your system: fdisk $SETUP_DEV_HDD Sample fdisk run (an extended partition, a 75MB boot logical drive, 2GB swap logical drive, 3GB root logical drive), with printouts of the partition table, as it is expanded: Command (m for help): p Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/mapper/isw_eaaicdchgi_Volume01 1 123 987966 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume02 124 246 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume03 247 369 987997+ 7 HPFS/NTFS Command (m for help): n Command action e extended p primary partition (1-4) e Selected partition 4 First cylinder (370-1044, default 370): Using default value 370 Last cylinder or +size or +sizeM or +sizeK (370-1044, default 1044): Using default value 1044 Command (m for help): p Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/mapper/isw_eaaicdchgi_Volume01 1 123 987966 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume02 124 246 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume03 247 369 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume04 370 1044 5421937+ 5 Extended Command (m for help): n First cylinder (370-1044, default 370): Using default value 370 Last cylinder or +size or +sizeM or +sizeK (370-1044, default 1044): +75M Command (m for help): p Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/mapper/isw_eaaicdchgi_Volume01 1 123 987966 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume02 124 246 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume03 247 369 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume04 370 1044 5421937+ 5 Extended /dev/mapper/isw_eaaicdchgi_Volume05 370 379 80293+ 83 Linux Command (m for help): n First cylinder (380-1044, default 380): Using default value 380 Last cylinder or +size or +sizeM or +sizeK (380-1044, default 1044): +2G Command (m for help): p Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/mapper/isw_eaaicdchgi_Volume01 1 123 987966 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume02 124 246 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume03 247 369 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume04 370 1044 5421937+ 5 Extended /dev/mapper/isw_eaaicdchgi_Volume05 370 379 80293+ 83 Linux /dev/mapper/isw_eaaicdchgi_Volume06 380 623 1959898+ 83 Linux Command (m for help): n First cylinder (624-1044, default 624): Using default value 624 Last cylinder or +size or +sizeM or +sizeK (624-1044, default 1044): +3G Command (m for help): p Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/mapper/isw_eaaicdchgi_Volume01 1 123 987966 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume02 124 246 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume03 247 369 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume04 370 1044 5421937+ 5 Extended /dev/mapper/isw_eaaicdchgi_Volume05 370 379 80293+ 83 Linux /dev/mapper/isw_eaaicdchgi_Volume06 380 623 1959898+ 83 Linux /dev/mapper/isw_eaaicdchgi_Volume07 624 989 2939863+ 83 Linux Command (m for help): t Partition number (1-7): 6 Hex code (type L to list codes): 82 Changed system type of partition 6 to 82 (Linux swap / Solaris) Command (m for help): p Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/mapper/isw_eaaicdchgi_Volume01 1 123 987966 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume02 124 246 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume03 247 369 987997+ 7 HPFS/NTFS /dev/mapper/isw_eaaicdchgi_Volume04 370 1044 5421937+ 5 Extended /dev/mapper/isw_eaaicdchgi_Volume05 370 379 80293+ 83 Linux /dev/mapper/isw_eaaicdchgi_Volume06 380 623 1959898+ 82 Linux swap / Solaris /dev/mapper/isw_eaaicdchgi_Volume07 624 989 2939863+ 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. Do not forget to assign appropriate partition types, 0x83 for boot and root, 0x82 for swap. Once your partitioning run is complete, instruct the RAID subsystem to refresh its partition information: dmraid -ay However, to be on the safe side, you might want to reboot, instead: shutdown -r now Examine your hard disk again: fdisk -lu $SETUP_DEV_HDD /dev/mapper/isw_eaaicdchgi_Volume0p1 * 63 83891429 41945683+
7 HPFS/NTFS This is the most important step in the entire installation: match up your device file names with environment variables representing boot, swap, and root partitions: export SETUP_DEV_BOOT=/dev/mapper/isw_eaaicdchgi_Volume05 Do not make a mistake when defining the three environment variables above. If you do, quite likely your system is history. We ignore the /dev/mapper/isw_eaaicdchgi_Volume04 partition, since it is an extended partition, serving only as a container for logical disks. If you plan to dual-boot with Windows, also define an environment variable for the partition which has been marked by Windows with an asterisk ("*", Boot, above). export SETUP_DEV_WIN=/dev/mapper/isw_eaaicdchgi_Volume01 Configuring the InstallationChoose the Ubuntu version to install: export SETUP_UBUNTU_VER=dapper Choose a default locale: export SETUP_LOCALE=en_US.UTF-8 Choose a CPU architecture for an operating system kernel and GRUB, a boot loader.
Use 386 when unsure, 686 for PPro/Celeron/PII/PIII/PIV,
or 686-smp for dual-core and quad-core systems. For other options,
consult Ubuntu Package List. export SETUP_CPU_UBUNTU=686-smp Choose a name for a new user of the system: export SETUP_USER=frankie-bronx Assembling a New System Inside of a Live-DVD SystemInitialize (format) your new filesystems (do not try reiserfs on a boot partition): mkfs.ext3 $SETUP_DEV_BOOT Create a temporary file structure to hold the new installation while we construct it: mkdir /install Install a base system: apt-get install debootstrap Copy a few critical system configuration files from your Live-DVD system to the new installation system: cp /etc/resolv.conf /install/etc/ Share the DVD disc: mkdir /install/cdrom
|



Recent comments
1 day 7 hours ago
1 day 16 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 18 hours ago
2 days 19 hours ago