Linux – How To

How to set up more than two GUIs (Desktops) in Linux

For Fedora or Redhat Linux edit /etc/X11/gdm/gdm.conf locate [server] section and add
3=/usr/bin/X11/X vt10
2=/usr/bin/X11/X vt9
1=/usr/bin/X11/X vt8
0=/usr/bin/X11/X vt7
save it and close
type gdm-restart at console OR restart the system

Install Linux from HDD (using ISO images)

*I m assuming that you already have linux installed on your system, and you want to install another linux without using CDs.
first of all download all the ISO images, for e.g Fedora 5 (it has 5 ISO images)
keep it under /fc5 directory
$ mkdir /mnt/isotmp
$ mount isofile.iso /mnt/isotmp -o loop
$ cd /media/disc1/isolinux
$ cp initrd.img /boot/fc5-initrd.img
$ cp vmlinuz /boot/fc5-vmlinuz
$ vim /etc/grub.conf

title Fedora Core Installer
root (hd0,0) # whatever u have
kernel /fc5-vmlinuz ro root=LABEL=/1 rhgb quiet
initrd /fc5-initrd.img
bash-$ reboot < u`r system>

and after u boot from this kernel point your directory holding the fc5 images.

boot linux OS from win MBR Run the following command:
dd if=/dev/hda2 of=/osshare/linux.bin bs=512 count=1

Substitute the path for the if= parameter (the input file) with the appropriate partition from the previous step. E.g., set if= to /dev/hda2. Substitute the path for the of= parameter (the output file) with whatever is appropriate for your system. The example here (of=/osshare/linux.bin) is for copying onto a FAT32 partition called osshare.

Reboot into Windows

Copy the linux.bin file to C:\

Run notepad and edit C:\boot.ini. Note that C:\boot.ini is a hidden system file, so it probably won’t show up in Windows Explorer. To edit the file, try: Start->Run and enter: notepad C:\boot.ini. Add the following line at the end: c:\linux.bin="Linux"

Reboot again. You should be able to pick either Windows or Linux. Selecting Linux will start GRUB

Make a Comment: ( None so far )

blockquote and a tags work here.

Liked it here?
Why not try sites on the blogroll...