OpenSuSe on 2nd HDD without touching XP
Posted: Sun May 11, 2008 10:00 am
I spent a good 4 hours yesterday getting OpenSuSe 10.3 installed on a T30's Ultrabay 2nd HDD adapter slotted drive. I'll recall as much detail as I can, hopefully it will help someone. As a side note, several of the steps below I had to go through because my external USB DVD/RW is not recognized by BIOS as a boot device. YMMV. Also, the fact that this is on a T30 with an Ultrabay 2000 cage is irrelevant. This would work on a T61 with an Ultrabay slim 2nd HDD adapter.
1.) Burn a KDE only CD, GNOME only CD, or a full DVD of OpenSuSE 10.3
2.) Get an external USB DVD/RW or CD/RW drive and connect it to the T30 directly (no hub)
3.) Boot into windows and load the DVD or CD. You should get a pop up asking you whether or not you want to install the "opensuse installer". Select yes and install it.
4.) Reboot. You will get a message on boot to install OpenSuSe (or to run the installer), select it.
5.) Install OpenSuSe normally. When you get to the first configuration summary screen, select the custom partitioner. Select the hdb drive and use the entire disk. The installer will create /swap, /, and /home partitions for you using the entire disk. Save your options and go back to the config summary screen.
6.) On the configuration summary screen select the bootloader. Edit the bootloader and select the option to install grub on the hdb1 partition. It's the custom pulldown box on the bottom of the screen. Click on the next tab (bootloader options I think) and make sure to make the boot partition (hdb1)active. Save your options, and continue with the install. Ignore any warnings about hdb1 not existing or not being created yet.
7.) After all of your selected packages are installed, the installer will reboot the machine. Do not let it complete the reboot, but instead go into BIOS (F1) and make your 2nd hard drive first in the boot order in BIOS.
8.) Exit out of BIOS and hit F12 to go into the boot menu, select 'hard drive' to boot. You will come up to a text GRUB screen. Hit 'e' to edit the entry to boot OpenSUSE, and change hd1,1 to hd0,1 for root. Save and boot. OpenSuSE will load and continue with the install.
9.) When the install completes, KDE or GNOME will load. Before you reboot edit your /boot/grub/menu.lst and make it look like this. Basically every where you see hd1 change it to hd0. The windows boot section you can copy verbatim into your menu.lst over writing what's there.
10.) Edit your /boot/grub/device.map and make it look like this;
When you reboot you should get a normal GRUB screen and both OpenSUSE and XP should boot normally. If you remove the 2nd hard drive, XP should boot normally with no GRUB screen. Your XP drive remains untouched. Another benefit is that this is a portable solution. You can pop this drive into any machine with an Ultrabay 2000 adapter and boot your own Linux.
1.) Burn a KDE only CD, GNOME only CD, or a full DVD of OpenSuSE 10.3
2.) Get an external USB DVD/RW or CD/RW drive and connect it to the T30 directly (no hub)
3.) Boot into windows and load the DVD or CD. You should get a pop up asking you whether or not you want to install the "opensuse installer". Select yes and install it.
4.) Reboot. You will get a message on boot to install OpenSuSe (or to run the installer), select it.
5.) Install OpenSuSe normally. When you get to the first configuration summary screen, select the custom partitioner. Select the hdb drive and use the entire disk. The installer will create /swap, /, and /home partitions for you using the entire disk. Save your options and go back to the config summary screen.
6.) On the configuration summary screen select the bootloader. Edit the bootloader and select the option to install grub on the hdb1 partition. It's the custom pulldown box on the bottom of the screen. Click on the next tab (bootloader options I think) and make sure to make the boot partition (hdb1)active. Save your options, and continue with the install. Ignore any warnings about hdb1 not existing or not being created yet.
7.) After all of your selected packages are installed, the installer will reboot the machine. Do not let it complete the reboot, but instead go into BIOS (F1) and make your 2nd hard drive first in the boot order in BIOS.
8.) Exit out of BIOS and hit F12 to go into the boot menu, select 'hard drive' to boot. You will come up to a text GRUB screen. Hit 'e' to edit the entry to boot OpenSUSE, and change hd1,1 to hd0,1 for root. Save and boot. OpenSuSE will load and continue with the install.
9.) When the install completes, KDE or GNOME will load. Before you reboot edit your /boot/grub/menu.lst and make it look like this. Basically every where you see hd1 change it to hd0. The windows boot section you can copy verbatim into your menu.lst over writing what's there.
Code: Select all
# Modified by YaST2. Last modification on Sun May 11 07:24:59 EDT 2008
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.17-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_IC25N030ATMR04-_MRG218K2DDJE6J-part2 vga=0x317 devfs=mount,dall resume=/dev/sdb1 splash=silent showopts
initrd /boot/initrd-2.6.22.17-0.1-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_IC25N030ATMR04-_MRG218K2DDJE6J-part2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.22.17-0.1-default
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,1)
chainloader (hd1,0)+1
Code: Select all
(hd0) /dev/sdb
(hd1) /dev/sda