How are you meant to install Linux on a 2nd HDD Ultrabay?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Dead1nside
Senior Member
Senior Member
Posts: 780
Joined: Mon Jul 24, 2006 8:32 pm
Location: Reading, UK
Contact:

How are you meant to install Linux on a 2nd HDD Ultrabay?

#1 Post by Dead1nside » Mon May 28, 2007 7:21 pm

If you want to keep your Windows XP partition and all in tact on the HDD drive, physically located inside the machine.

Yet want to use Linux on an Ultrabay 2nd HDD caddy... how are you meant to install Linux on the hard drive in the caddy? You need the CD/DVD to install...

Distro. Fedora

Thanks for your help.
T41p 2373-GHG / 1.5Ghz 'Banias' / NMB Keyboard
T61 14.1'' 7661-CTO / Vista Business / WXGA / T7300 / 2GB RAM / 80GB HDD / X3100 / 3945ABG / NMB KB /
T400 14.1'' 2768-CTO / Vista Business / WXGA / P8400 / 4GB RAM / 200GB 7200RPM / HD 3470 / 5300AGN / WWAN / NMB KB

scoot1212
Posts: 48
Joined: Fri Aug 05, 2005 9:08 pm

#2 Post by scoot1212 » Mon May 28, 2007 7:27 pm

the only way i can think of, is to splurge on an external dvd drive.

Scott

Dead1nside
Senior Member
Senior Member
Posts: 780
Joined: Mon Jul 24, 2006 8:32 pm
Location: Reading, UK
Contact:

#3 Post by Dead1nside » Mon May 28, 2007 8:04 pm

Thanks. Can you do a network install where the image is located elsewhere on the network, but is reachable?

I thought this would be the perfect usage case for the HDD caddy, but it evidently doesn't work. :(
T41p 2373-GHG / 1.5Ghz 'Banias' / NMB Keyboard
T61 14.1'' 7661-CTO / Vista Business / WXGA / T7300 / 2GB RAM / 80GB HDD / X3100 / 3945ABG / NMB KB /
T400 14.1'' 2768-CTO / Vista Business / WXGA / P8400 / 4GB RAM / 200GB 7200RPM / HD 3470 / 5300AGN / WWAN / NMB KB

rkawakami
Admin
Admin
Posts: 10052
Joined: Sun Jun 04, 2006 1:26 am
Location: San Jose, CA 95120 USA
Contact:

#4 Post by rkawakami » Mon May 28, 2007 8:28 pm

Maybe I'm missing something here...

You have your original hard drive with Windows XP installed on it.

You want to have a second, bootable hard drive that has Linux (and only Linux) on it.

What is preventing you from swapping the hard drives (take the current one out of the system, put the new one in), booting Linux from the CD and then installing it onto the hard drive? When done, remove the drive with Linux on it and put it into the Ultrabay HD adapter.

Sorry, if this is seems to be a dumb question, but I do not have any experience with Linux distros. My assumption is that all you need to do is boot off the CD and install the OS. Windows can do this, why not Linux?
Ray Kawakami
X22 X24 X31 X41 X41T X60 X60s X61 X61s X200 X200s X300 X301 Z60m Z61t Z61p 560 560Z 600 600E 600X T21 T22 T23 T41 T60p T410 T420 T520 W500 W520 R50 A21p A22p A31 A31p
NOTE: All links to PC-Doctor software hosted by me are dead. Files removed 8/28/12 by manufacturer's demand.

tom lightbody
Junior Member
Junior Member
Posts: 334
Joined: Fri Jul 07, 2006 1:07 am
Location: cleveland

#5 Post by tom lightbody » Mon May 28, 2007 8:56 pm

if you have a bootable floppy drive for the machine, the debian "net install"
can use (3) floppies; tho I've not tried to install on the 2nd disk

or, use ray's idea, and then manipulate your boot loader to recognize both OSes
the way up and the way down are the same (heraclitus)

Dead1nside
Senior Member
Senior Member
Posts: 780
Joined: Mon Jul 24, 2006 8:32 pm
Location: Reading, UK
Contact:

#6 Post by Dead1nside » Mon May 28, 2007 10:49 pm

rkawakami, that's exactly right. I was just trying to avoid having to open up the Thinkpad casing. But yes, otherwise it should work, with some messing around in the GRUB config file for what OS is where.
T41p 2373-GHG / 1.5Ghz 'Banias' / NMB Keyboard
T61 14.1'' 7661-CTO / Vista Business / WXGA / T7300 / 2GB RAM / 80GB HDD / X3100 / 3945ABG / NMB KB /
T400 14.1'' 2768-CTO / Vista Business / WXGA / P8400 / 4GB RAM / 200GB 7200RPM / HD 3470 / 5300AGN / WWAN / NMB KB

Dead1nside
Senior Member
Senior Member
Posts: 780
Joined: Mon Jul 24, 2006 8:32 pm
Location: Reading, UK
Contact:

#7 Post by Dead1nside » Tue May 29, 2007 1:40 am

Can a Thinkpad (T41p) boot from a USB thumbdrive? It says it can boot from USB floppy or USB cdrom. This would solve my problem maybe.

Thanks.
T41p 2373-GHG / 1.5Ghz 'Banias' / NMB Keyboard
T61 14.1'' 7661-CTO / Vista Business / WXGA / T7300 / 2GB RAM / 80GB HDD / X3100 / 3945ABG / NMB KB /
T400 14.1'' 2768-CTO / Vista Business / WXGA / P8400 / 4GB RAM / 200GB 7200RPM / HD 3470 / 5300AGN / WWAN / NMB KB

qviri
ThinkPadder
ThinkPadder
Posts: 1275
Joined: Sat Nov 25, 2006 5:45 pm
Location: Berlin, Germany

#8 Post by qviri » Tue May 29, 2007 10:30 am

Dead1nside wrote:rkawakami, that's exactly right. I was just trying to avoid having to open up the Thinkpad casing.
I am fairly sure that swapping a hard drive in your T41p is a matter of undoing one screw and sliding out the HDD caddy. Not exactly a surgical operation :). That's the way it is in all of my Thinkpads, at least.
X220/IPS, T60p/IPS
Nothing endures but change

egibbs
Senior Member
Senior Member
Posts: 896
Joined: Tue Apr 27, 2004 6:05 am
Location: New Jersey

#9 Post by egibbs » Tue May 29, 2007 1:05 pm

The previous posts are correct - you want to put the new HDD in the primary slot, load it up with Linux, move it to the Ultrabay and edit GRUB so that it knows the Linux volume is on the Ultrabay HDD rather than the primary.

Keep in mind that the Ultrabay is the first device on IDE channel 1, while the primary HDD is the first device on IDE channel 0. So what you want to edit is the channel number, not the device number.

Once you have it set up you will use F12 at boot to select the Ultrabay when you want to boot to Linux.

It takes about 30 seconds to pull the primary HDD and install the new one (2 minutes if you've never done it).

Ed Gibbs

Dead1nside
Senior Member
Senior Member
Posts: 780
Joined: Mon Jul 24, 2006 8:32 pm
Location: Reading, UK
Contact:

#10 Post by Dead1nside » Tue May 29, 2007 5:49 pm

Thanks egibbs, the most concise explanation and instruction. Cheers.
T41p 2373-GHG / 1.5Ghz 'Banias' / NMB Keyboard
T61 14.1'' 7661-CTO / Vista Business / WXGA / T7300 / 2GB RAM / 80GB HDD / X3100 / 3945ABG / NMB KB /
T400 14.1'' 2768-CTO / Vista Business / WXGA / P8400 / 4GB RAM / 200GB 7200RPM / HD 3470 / 5300AGN / WWAN / NMB KB

brnf
Posts: 41
Joined: Wed Apr 18, 2007 9:39 am
Location: Chicago IL

#11 Post by brnf » Sat Jun 02, 2007 9:42 am

If you have a second PC sitting around, you can install GRUB (bootloader) on your primary HD and set up boot images and a TFTP server on the second PC. After this, you can start your thinkpad and tell GRUB to boot from the network, see here:

http://www.gnu.org/software/grub/manual ... ml#Network

..it's probably not the easiest way to do the install and I never tried it myself.. but I'm sure it's fun if it works. Also, you have to make sure that GRUB supports the ethernet adapter of the thinkpad.

brnf
Posts: 41
Joined: Wed Apr 18, 2007 9:39 am
Location: Chicago IL

#12 Post by brnf » Sun Jun 03, 2007 4:09 pm

The previous posts are correct - you want to put the new HDD in the primary slot, load it up with Linux, move it to the Ultrabay and edit GRUB so that it knows the Linux volume is on the Ultrabay HDD rather than the primary.

Keep in mind that the Ultrabay is the first device on IDE channel 1, while the primary HDD is the first device on IDE channel 0. So what you want to edit is the channel number, not the device number.

Once you have it set up you will use F12 at boot to select the Ultrabay when you want to boot to Linux.

It takes about 30 seconds to pull the primary HDD and install the new one (2 minutes if you've never done it).
this sounds like a good idea but it will not work. I think you have to do something like this:

1. Install GRUB on your primary HD and make sure that you can boot Windows, the recovery program etc. Also put a boot entry for loading Linux from your secondary HD.

2. Install the HD you want to put in your ultrabay as your primary HD and install Linux on it. There is one thing you should consider though. Linux will see the primary HD as something like /dev/sda (or /dev/hda if you don't have SATA), after you but it into the ultrabay it will become the secondary HD, i.e. /dev/sdb (this is what I assume, I don't have a thinkpad, yet, it could be the other way around). This mean the entries created in /etc/fstab during the Linux installation will be wrong after you switch the HD to the ultrabay. To fix this you will have to edit /etc/fstab, you will have to change entries like

Code: Select all

/dev/sda1           /boot           ext2  noauto,noatime                 1 2
to something like

Code: Select all

/dev/sdb1           /boot           ext2  noauto,noatime                 1 2
etc.

3. Reinstall your primary HD and put the other one into the ultrabay, try to boot Linux.

4. Don't worry if it doesn't work immediately, use Knoppix to boot from CD and edit config files (/etc/fstab, grub.conf etc)

Dead1nside
Senior Member
Senior Member
Posts: 780
Joined: Mon Jul 24, 2006 8:32 pm
Location: Reading, UK
Contact:

#13 Post by Dead1nside » Sun Jun 03, 2007 7:57 pm

Thanks for all your help. I've got to wait until my HDD and ultrabay adapter arrive first. I'll be installing Fedora 7, the hard drives get mounted as /sda etc. now as they're using a new driver.

I will give it a go.
T41p 2373-GHG / 1.5Ghz 'Banias' / NMB Keyboard
T61 14.1'' 7661-CTO / Vista Business / WXGA / T7300 / 2GB RAM / 80GB HDD / X3100 / 3945ABG / NMB KB /
T400 14.1'' 2768-CTO / Vista Business / WXGA / P8400 / 4GB RAM / 200GB 7200RPM / HD 3470 / 5300AGN / WWAN / NMB KB

shuffle2
Posts: 24
Joined: Sun Jun 03, 2007 1:21 pm
Location: Allentown, PA

#14 Post by shuffle2 » Sun Jun 03, 2007 10:08 pm

look into PXE booting the net install image (or whatever image you want, actually.) This requires a ethernet "crossover cable" I made one myself pretty easily by looking at http://en.wikipedia.org/wiki/Ethernet_c ... le_pinouts
I just made the first one "Two pairs crossed, two pairs uncrossed".
You also need a tftp server, and the files to be booted....i did this for kubuntu fiesty for my friend's laptop (which had no optical drive).
Hope you get it somehow :)

dummkopf
Posts: 41
Joined: Sun Jul 31, 2005 4:41 pm

#15 Post by dummkopf » Mon Jun 04, 2007 6:29 am

http://goodbye-microsoft.com/

There is similar installer for Ubuntu, search Google.

I'd recommend GAG as your bootloader, it has no files on disk partitions to worry about.

In case you need boot aide:

http://linux.simple.be/tools/sbm
I think there is a world market for maybe five computers.
—IBM Chairman Thomas Watson, 1943

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: axur-delmeria and 0 guests