红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

How to set up one more Linux distribution on you computer

How to set up one more Linux distribution on you computer

So I am here will performance how to build more Linux-like on you computer as my  Lenovo laptop T61 individually .the same method will happen on others .so what should we need to check whether hardware support your Linux Distribution from website .I just test on Lenovo T61,so need you guys confirm by yourself or share here together.

First,make purpose what Linux-like do you want to play and how much volume does your storage.try to use command to list them after sliting ,view mine as following.

#########################################################

[root@steven ~]# fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes

240 heads, 63 sectors/track, 15505 cylinders

Units = cylinders of 15120 * 512 = 7741440 bytes

Disk identifier: 0x13dbf84d

Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1        2868    21682048+   7  HPFS/NTFS

/dev/sda2            2869       15505    95535720    f  W95 Ext'd (LBA)

/dev/sda5            2869        6931    30716248+   b  W95 FAT32

/dev/sda6            6932        9641    20474811   83  Linux

/dev/sda7            9641       10195     4192933+  82  Linux swap / Solaris

/dev/sda8           10195       11821    12289693+  83  Linux

[root@steven ~]#

comment:

/dev/sda1 is Windows Xp system with NTFS format

/dev/sda2 is extend volume of my disk

/dev/sda5 is my first logical disk on WindowsXP system with fat format(how to distinguish the label of disk on Linux ,you guys should search documentation on network manually)

/dev/sda6 is my  Redhat Enterprise Linux Server 5.1 on laptop

/dev/sda7 is swap partition for every Linux

/dev/sda8 is Fodera 9

so when you modify partition  for different Linux distribution before Linux installation,so it's very easy to do it I think.

Okay ,when you install the first system is Windows ,then the boot sequence will be modified on MBR,then continue to install Linux on another partition ,the grub will modify the MBR again (of course you can install grub onto anther partition is okay),so not lucky gurb just can save the last Linux-like system boot setting without saving all of them ,so you need to do modification manually.

first you have to check out which partition your Linux installed ,then modify it easily like mine /dev/sda6 is my  Redhat Enterprise Linux Server 5.1 on laptop so I just make sure grub could find it on correct partition then it will boot from that partition,specially the number of your partition should reduce
monadic operator ,for example change sda6 to (hd0,5) when you try to set boot Parameter value as following:

####################################################
#          kernel /boot/vmlinuz-version ro root=/dev/sda8

#          initrd /boot/initrd-version.img

#boot=/dev/sda

default=0

timeout=5

splashimage=(hd0,7)/boot/grub/splash.xpm.gz

hiddenmenu

title Fedora (2.6.25-14.fc9.i686)

       root (hd0,7)

       kernel /boot/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=aa7a1f24-2b4d-488c-9cc1-18fdde6cb46b rhgb quiet

       initrd /boot/initrd-2.6.25-14.fc9.i686.img

title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)

       root (hd0,7)

       kernel (hd0,5)/boot/xen.gz-2.6.18-8.el5

       module (hd0,5)/boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/12 rhgb quiet

       module (hd0,5)/boot/initrd-2.6.18-8.el5xen.img

title Windows-xp

       rootnoverify (hd0,0)

       chainloader +1

save them and reboot your Linux you will find it finally and boot different Linux distribution.

TOP

发新话题