Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I have just installed a new second hard drive and I can't access the installed operating systems on it.
On my first hard drive I have XP and pclinuxOS 9.2 I can access these no problem and I have a boot loader for doing it.
On the second drive is windows XP and another pclinuxOS but the boot loader doesnt load them. they are there as I can see them in windows and can access XP from inside windows.
I have done this a few years ago by editing boot/grub/menu.list in kate but can't remember how? and is it different for lilo?
I have put pclinuxOS on the second drive but want to install Alinux but the install procedure was a bit complicated and I never got that far. any help on this is appreciated, thanks Adrian
hope I made sense
Well...you have to edit the configuration file for whatever bootloader you are using--Yes, it is different for GRUB and LILO.
I am assuming that on you first drive, you installed a bootloader with PCLinux. Boot into PCLinux and look in the /boot directory. You should see a folder for GRUB or LILO. With GRUB--as you mentioned--the config filename is "menu.lst". Open this file and you will see the configuration settings. All you need to do is add the information for the OSes on the second drive.
To see where things are on the second drive, you can use fdisk. For example, if you have the two drives on a normal ide bus, then they will be /dev/hda and /dev/hdb. So do "fdisk /dev/hdb" to see all the partitions there.
Note the numbering system used by GRUB starts at "0". Here are some typical GRUB menu.lst entries:
Code:
title Ubuntu
root (hd2,0)
kernel /vmlinuz root=/dev/hdg1
initrd /initrd.img
title SUSE
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hde5
initrd /boot/initrd
title PCLinuxOS
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hde6
initrd /boot/initrd.img
Here is how to read the first one:
GRUB, go to the 3rd HD, first partition. There you will find a kernel named "vmlinuz" in the "/" directory. Boot this with a command-line argument that tells the kernel that its file system is rooted at the 3rd HD, first partition.
Also, you will find the initrd image in "/"--it is named initrd.img
Note that "vmlinuz" and "initrd.img" in this example are acually soft links to the real file names. This make it easier to set up the config file.
Hi pixellany thanks for reply, I'm a little lost though, I typed in to a console: kate /boot/grub/menu.lst and kate opened but it was blank. I know pclinux is lilo but I can't find a file of that name
this is what I got from fdisk:
[root@localhost ~]# fdisk
Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...
[root@localhost ~]#
I can't open files in the /Boot/ folder when I click on them to open it says "saving this file will corrupt it" and they seem to be binary files that I can't read.
Hi this is what I got from Kate /etc/lilo.conf, I need to add another win xp and alinux, can you tell me how? The entry "label="windows_devhdb1" is one I added in control pannel but it just takes me to the windows I have on hda thanks Adrian
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
Some people here will say get rid of LILO and install GRUB.
I will only say get a copy of the LILO manual. If you look at your config file long enough you can figure out how to edit it for another OS, but it will be easier with the manual....
Ok, I made no headway with lilo I installed Grub but it still was beyond me, so I installed Suse 10.1 as I know it had GRUB as default. recap; I have two hard drives, the first has Suse and xp and the second has XP and I want to put another linux distro on it.
The suse boot loader has listed the 3 operating systems but both the xp titles boot into the same xp.
this is what I got from Kate:
# Modified by YaST2. Last modification on Tue Jul 25 12:35:46 BST 2006
color white/blue black/light-gray
default
timeout 30
gfxmenu (hd0,5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 vga=0x317 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
chainloader (hd1,0)+1
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
and this is what my computer can see in Suse:
Disk Information
Device
Filesystem
Total space
Available space
Floppy Drive
auto
7.50 GB
aaria5
ntfs
56.01 GB
17.61 GB
8.1G Media
reiserfs
7.50 GB
5.30 GB
11G Media
reiserfs
11.08 GB
11.05 GB
62G Media
ntfs
58.63 GB
55.13 GB
19G Media
ext2
both my drives are on the same ide cable is that ok? one is set to master and the other to cable select, I also have a DVD burner and a DVD drive on another cable.
thanks for any help on this, Adrian
Hi this is what I have so far, I have xp and suse on my first hard drive and xp and pclinuxos on my second, I have worked out the way to get pclinux but can't seem to get the xp booted from the menu title. its listed as windows F
# Modified by YaST2. Last modification on Tue Jul 25 23:45:03 BST 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 vga=0x317 resume=/dev/hda5 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: windows 2###
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.