You are on page 1of 2

LiveCDs and LiveDVDs that were built after 2007-02-01 come with the script live

cd-install, which can be used to install the whole LiveCD/DVD to your local hard
disk. There is also a simple GUI called livecd-install-gui available.
Please note: This is the first test release of livecd-install. Any feedback is v
ery welcome.
Finally, you should end up with a fully working Scientific Linux installation.
If you like to use the GUI, there is an entry called "-> Install LiveCD/DVD <-"
in the top level of the KDE menu or under KDE -> Administration. In Gnome you fi
nd it under System -> Administration. Or you can start the GUI by running the co
mmand livecd-install-gui.
The script livecd-install has to be run as root. Option -h will show you a short
help text.
# su # livecd-install -h
To install the LiveCD on your hard disk you need one empty Linux partition (Id:
83).
The LiveCD/DVD will need three times more disk space on your hard disk.
For example the LiveCD (about 700 MB) will fill up 2.1 GB on the Linux partition
. It is further recommended that you have in addition a Linux Swap partition (Id
: 82).
To create new partitions use fdisk, parted and/or qtparted.
Install the LiveCD/DVD on an empty hard disk
Assuming you have a second empty IDE hard disk (/dev/hdb), use for example fdisk
to create a Swap partition (/dev/hdb1) and
a Linux partition (dev/hdb2). Finally, you should have something like:
# fdisk -l
Disk /dev/hdb: 60.0 GB, 60011642880 bytes
240 heads, 63 sectors/track, 7752 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device
/dev/hdb1
/dev/hdb2

Boot

Start
1
129

End
128
7752

Blocks
967680
57637408

Id
82
83

System
Linux swap
Linux

Since your PC will most probably boot from the first hard disk (/dev/hda), we wi
ll install the boot loader GRUB into the Master Boot Record (MBR) of /dev/hda. T
o install the LiveCD run now
# livecd-install -swap=/dev/hdb1 -mbr=/dev/hda /dev/hdb2
The script livecd-install will format /dev/hdb2, copy all data from the LiveCD t
o /dev/hdb2 including your changes that you or the system have done since bootin
g the LiveCD. Things that are Live System specific will be removed and files tha
t are need on a working Scientific Linux installation will be generated. The dir
ectory /boot will be populate with kernel, initrd, and the grub folder. The grub
configuration file grub.conf will be generated and grub will be installed into
the Master Boot Record (MBR) of /dev/hda. Device /dev/hdb1 will be added as Swap
partition to /etc/fstab.

Install the LiveCD/DVD on the the same disk as your Windows


Below a possible partition table of 60 GB SATA hard disk is printed. The Windows
partition (/dev/sda1) was shrinked to 30 GB with the help of qtparted. A Swap p
artition (/dev/sda2) of 1000 MB and a Linux partition (/dev/sda3) of 29 GB was c
reated afterwards.
# fdisk -l
Disk /dev/sda: 60.0 GB, 60011642880 bytes
240 heads, 63 sectors/track, 7752 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device
/dev/sda1
/dev/sda2
/dev/sda3

Boot
*

Start
1
3877
4006

End
3876
4005
7752

Blocks
29302544
967680
28334864

Id
7
82
83

System
HPFS/NTFS
Linux swap
Linux

To install the LiveCD on /dev/sda3 run


# livecd-install -swap=/dev/sda2 -mbr=/dev/sda /dev/sda3
The script livecd-install will create a boot entry in grub.conf for Windows.