Ubuntu 6.06 on T60: dualboot or on second HD

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

Ubuntu 6.06 on T60: dualboot or on second HD

#1 Post by baraider » Mon Jun 19, 2006 12:18 pm

Hi all,
I'm waiting for my T60 223d6u which is arriving in 2,3 days. I have Ubuntu on the second HD on my T23 and T42 with no problem.
I'd like to know the opinions around here regarding install ubuntu. Did you guy dualboot it with XP? If so, please point me to a guide where you used it.

Or getting a second drive better to put Ubuntu on. I have a spare 7k60 PATA HD which i can buy a drive adapter to put on the bay.

My T60 comes with a 80g 5400 HD. I think it's enough to share both XP and Ubuntu.
Regards
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

christopher_wolf
Special Member
Posts: 5741
Joined: Sat Oct 08, 2005 1:24 pm
Location: UC Berkeley, California
Contact:

Re: Ubuntu 6.06 on T60: dualboot or on second HD

#2 Post by christopher_wolf » Mon Jun 19, 2006 1:18 pm

baraider wrote:Hi all,
I'm waiting for my T60 223d6u which is arriving in 2,3 days. I have Ubuntu on the second HD on my T23 and T42 with no problem.
I'd like to know the opinions around here regarding install ubuntu. Did you guy dualboot it with XP? If so, please point me to a guide where you used it.

Or getting a second drive better to put Ubuntu on. I have a spare 7k60 PATA HD which i can buy a drive adapter to put on the bay.

My T60 comes with a 80g 5400 HD. I think it's enough to share both XP and Ubuntu.
Regards
I myself put it on a second HDD that I also use for storage and backups; it goes in the Ultrabay and boots just fine.

This post by Mr.Edward Mendelson is a great starting point; http://forum.thinkpads.com/viewtopic.ph ... hdd+ubuntu

There are, however, some things that have to be taken into account. The install, for me, was slightly different on my T43 than a similar T42. It is also going to be a tad different on the T60.

HTH :)
IBM ThinkPad T43 Model 2668-72U 14.1" SXGA+ 1GB |IBM 701c

~o/
I met someone who looks a lot like you.
She does the things you do.
But she is an IBM.
/~o ---ELO from "Yours Truly 2059"

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#3 Post by baraider » Mon Jun 19, 2006 5:20 pm

Thanks Chris,
I used the same guide to install the ubuntu on my T23..it works great...and the guys at ubuntu forums are very helpful.

I try to find the same guide for T60 but none is this detailed. I read lot of people posting about ubuntu on their T60 but I don't know if they wipe out the XP partition or dualboot or on second HD, that's why I'd like to know.
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

indigo
Posts: 7
Joined: Thu Feb 02, 2006 1:13 am

#4 Post by indigo » Wed Jun 21, 2006 3:44 pm

remove windows compleatly :-)

christopher_wolf
Special Member
Posts: 5741
Joined: Sat Oct 08, 2005 1:24 pm
Location: UC Berkeley, California
Contact:

#5 Post by christopher_wolf » Wed Jun 21, 2006 4:19 pm

indigo wrote:remove windows compleatly :-)
Mind explaining how that helps? The topic says *dual boot* or, if a 2nd HDD is used, Windows doesn't need to be touched. Why remove it?
Last edited by christopher_wolf on Thu Jun 22, 2006 8:25 pm, edited 1 time in total.
IBM ThinkPad T43 Model 2668-72U 14.1" SXGA+ 1GB |IBM 701c

~o/
I met someone who looks a lot like you.
She does the things you do.
But she is an IBM.
/~o ---ELO from "Yours Truly 2059"

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#6 Post by Edward Mendelson » Thu Jun 22, 2006 9:25 am

An earlier post in this thread noted that there did not seem to be a guide for installing Dapper Drake (Ubuntu 6.06) on a ThinkPad T42 that updates my earlier guides on installing 5.04 and 5.10.

I won't post a guide to installing Dapper, because Dapper is a disaster on the T4x series if you have a dock (and perhaps, for some people, even if you don't have one). Dapper uses a totally messed-up way of enumerating drives, so if you install Dapper on a T42 and then try to start it up when the computer is docked, Dapper can't find itself, and won't boot. There are complicated workarounds for this but they're not worth it, and you'll probably have to keep making them over and over again. (See hundreds of posts about this problem on the Ubuntu forums - it doesn't affect only ThinkPads, but any system with more than one hard disk controller; please do not ask me directly because I don't remember the details.)

The next version (6.10) is supposed to fix this problem. If it does, I'll post another guide. Meanwhile, I think it's mistake even to look at Dapper. I've wiped it from both systems on which I tried it.

(I also tried Dapper on my desktop system, and it didn't recognize the network card. Never had that problem on earlier versions. Dapper seems to be a major step backward for Ubuntu.)

This is esentially EVERYTHING I know about Dapper, so it would be a total waste of time to ask me for further details, because I don't know any, and I don't even have a copy of Dapper (I trashed the CDs after wiping it from my disks.) The forums at ubuntuforums.org are packed with information.

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#7 Post by baraider » Thu Jun 22, 2006 11:09 am

Hum, this is very sad to hear. I just ordered a T40 HDD ultraslim bay adapter to put on my T60 so i can install ubuntu.
Edward, I did use you guide to put Ubuntu on the second HD on my T23. It works pefectly....
Guess I'll look around to see what else there is
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#8 Post by Edward Mendelson » Thu Jun 22, 2006 12:09 pm

Edward, I did use you guide to put Ubuntu on the second HD on my T23. It works pefectly....
Do you mean 5.10 or 6.06???

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#9 Post by baraider » Thu Jun 22, 2006 1:26 pm

Edward Mendelson wrote:Do you mean 5.10 or 6.06???
This was way back when you got the guide for 5.04 and later you upgraded it to 5.10...
i haven't try 6.06 yet...but will soon...i hope whatever bad experience you got it 6.06 limited only to T4x. I haven't found a single guide on how to install 6.06 on a T6x either dualboot or second HD. Most of the wiki is for clean install on the main HD
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#10 Post by Edward Mendelson » Thu Jun 22, 2006 1:43 pm

Some people on the forums have reported good results with Dapper and a ThinkPad. They're presumably luckier than I am - or they don't have a dock. The problems occur with ANY ThinkPad that uses a dock, or any computer that has more than one HD controller.

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#11 Post by baraider » Thu Jun 22, 2006 8:05 pm

I don't use a dock so i should not have any problem with this. However, I would put a second HD in the T60's ultraslim bay...is this what you meant when you said any computer that has more than one hard drive controller.
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#12 Post by Edward Mendelson » Thu Jun 22, 2006 10:37 pm

No, the internal bay is on the same controller as the internal HDD.

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#13 Post by baraider » Thu Jun 22, 2006 11:44 pm

Edward Mendelson wrote:No, the internal bay is on the same controller as the internal HDD.
Great, then I should have no problem then. I am not aware of any other guide besides yours that shows step by step to install ubuntu on a second HD.
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#14 Post by baraider » Mon Jun 26, 2006 12:18 pm

Anyone knows if i can install ubuntu 6.06 using an USB DVD drive and the HD in the ultraslim bay without the main HD.

My main HD is being replaced by IBM and I have a PATA HD i put in the DVD bay.

Boot up from the external DVD just fine, and then i got to step 5 of 6 where the installation try to find the HD to do partition.

I think ubuntu can't find the second HD by itself...i tried the ubuntu 5.04 and it said it can't find any HD....ubuntu 6.06 just sits there without any error message...

Does it mean i have to have a main HD to install ubuntu on secondary HD?
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#15 Post by Edward Mendelson » Mon Jun 26, 2006 12:43 pm

Go to the BIOS and set the drive-bay hard disk as the first disk. It may work; it may not. Can't hurt to try.

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#16 Post by baraider » Mon Jun 26, 2006 12:57 pm

i tried, go to bios, and in the startup boot order, I move HD1 before HD0....but Ubuntu can't seem to see HD1 when it tried to do partition

I tried to replace the ubuntu CD by Winxp cd and it could see the secondary HD just find...it even partitioned that as C:

I guess this is where ubuntu is lacking compared to XP
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#17 Post by baraider » Mon Jun 26, 2006 1:09 pm

I spoke too soon. :D
I went to bios again and this time, exclude the HD0 from the boot menu and change the SATA mode from compability to ACHI.
Now ubuntu can see it just fine...i don't know if the exclusion or ACHI that helped.
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#18 Post by baraider » Tue Jun 27, 2006 3:20 pm

Some new reports.
I got a new Hitachi 7k100 SATA to replace my main HD and a 7K60 PATA on the ultrabay.

Installed the XP and Ubuntu without problem on each HD. Now i set the bios to boot from the second HD (ubuntu) first...I edit the menu.lst to be able to select XP from the grub menu.

Can anyone look at my boot/grub/menu.lst to see if I point to the XP partition correctly? Because the main HD is a SATA so i replace hd by sd...not sure if it's right.

Code: Select all

andy@T60:~$ sudo fdisk -l
Password:

Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        6996    56195338+  83  Linux
/dev/hda2            6997        7296     2409750    5  Extended
/dev/hda5            6997        7296     2409718+  82  Linux swap / Solaris

Disk /dev/sda: 100.0 GB, 100030242816 bytes
240 heads, 63 sectors/track, 12921 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       12062    91188688+   7  HPFS/NTFS
/dev/sda2           12063       12921     6494040   12  Compaq diagnostics
andy@T60:~$
And here is my grub menu

Code: Select all

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.



## ## End Default Options ##


title		Ubuntu, kernel 2.6.15-23-686
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro quiet splash
initrd		/boot/initrd.img-2.6.15-23-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-686 (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro single
initrd		/boot/initrd.img-2.6.15-23-686
boot


title		Ubuntu, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin 
boot


title           Microsoft Windows XP Professional
root            (sd0,0)
map             (hd0) (sd0)
map             (sd0) (hd0)
#savedefault 
chainloader +1

### END DEBIAN AUTOMAGIC KERNELS LIST
I have problem booting from the new kernel 2.6.15.25 so I use 2.6.15.23

Thanks
Last edited by baraider on Wed Jun 28, 2006 4:21 pm, edited 1 time in total.
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

K0LO
Senior Member
Senior Member
Posts: 659
Joined: Wed Sep 07, 2005 12:14 pm
Location: State College, PA, USA

Fixing GRUB

#19 Post by K0LO » Tue Jun 27, 2006 5:07 pm

baraider:

I recently read most of the GRUB manual to figure out how to get my system working. The frightening thing is that it's starting to make sense!

Grub identifies hard drives differently. It won't know the difference between hda and sda. From reading your menu.lst file, apparently when you boot from the second (Ubuntu) hard disk, that disk becomes the first hard disk and is identified as (hd0,0), which means the first partition (0) on the first hard drive (0).

Your Windows partition, which is the first partition on your second hard drive, would be identified by GRUB as (hd1,0).

Therefore, you should replace this part of your menu.lst file:

Code: Select all

title           Microsoft Windows XP Professional
root             (sd0,0)
map             (hd0) (sd0)
map             (sd0) (hd0)
#savedefault
chainloader +1
with the following:

Code: Select all

title           Microsoft Windows XP Professional
rootnoverify        (hd1,0)
chainloader +1
Before editing your menu.lst file, do a quick experiment. Reboot the computer and when the GRUB screen comes up, press "ESC" to stop the countdown timer. Now you can enter GRUB commands directly. Press "c" to bring up a command line. Then enter:
root (hd1,0)

GRUB should then spit out some kind of an error message, which just means that it doesn't recognize the NTFS filesystem. (That's why you use rootnoverify in the menu.lst file, to prevent GRUB from trying to mount the filesystem).

Next enter:
chainloader +1

and if Windows starts, you're golden.

To fix permanently, reboot the PC and this time start up Ubuntu. Edit the /boot/grub/menu.lst file to replace the section about Windows with the code above.
Last edited by K0LO on Tue Jun 27, 2006 7:07 pm, edited 1 time in total.
Mark

X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#20 Post by baraider » Tue Jun 27, 2006 5:39 pm

KOlo,
Thanks a lot...but I guess you misread my configuration.

The main HD which XP is on is SATA...linux saw it as sda
The secondary HD which Ubuntu on is PATA, I used a HD adapter to put it on the DVD bay.

I have 2 HDs...not dualboot...

I'll try your method nonetheless.
Regards,
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

K0LO
Senior Member
Senior Member
Posts: 659
Joined: Wed Sep 07, 2005 12:14 pm
Location: State College, PA, USA

#21 Post by K0LO » Tue Jun 27, 2006 6:08 pm

No, I understood that you have two hard disks.

In GRUB lingo, your Ubuntu disk is (hd0) and your XP disk is (hd1) when you have set your BIOS to boot from the PATA hard drive. The boot drive becomes the first hard disk (hd0) and the SATA drive then becomes the second hard disk (hd1).

Confusing?
Mark

X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#22 Post by baraider » Tue Jun 27, 2006 6:19 pm

Thanks,
I was following this guide from Edward here http://columbia.edu/~em36/ubuntubreezythinkpadt42.html

I couldn't get the grub to boot to XP from the boot menu so I thought I put in the wrong letter....in his guide, all the disks are PATA and T60 uses a SATA as main disc..

and when i did fdisk -l, it shows sda and hda so that's why i replace hd1 with sd1.

I'll try your method tonight and report back.

Regards
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

al7kz
Freshman Member
Posts: 117
Joined: Thu Dec 15, 2005 5:06 pm
Location: Juneau, Alaska

#23 Post by al7kz » Tue Jun 27, 2006 7:04 pm

edit
Last edited by al7kz on Thu Nov 02, 2006 3:02 am, edited 1 time in total.

K0LO
Senior Member
Senior Member
Posts: 659
Joined: Wed Sep 07, 2005 12:14 pm
Location: State College, PA, USA

#24 Post by K0LO » Tue Jun 27, 2006 7:23 pm

al7kz:

Was just pondering this myself. I think that this may no longer be needed for Windows XP, but was certainly necessary for older DOS operating systems, but you may be right.

If my previous example doesn't boot XP then I think this is all you need:

Code: Select all

title     Microsoft Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
baraider, you could try the above from the GRUB command line before editing your /boot/grub/menu.lst file.

73!
Mark

X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#25 Post by baraider » Tue Jun 27, 2006 10:09 pm

Just did it...and it works :D
Thanks guys
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

K0LO
Senior Member
Senior Member
Posts: 659
Joined: Wed Sep 07, 2005 12:14 pm
Location: State College, PA, USA

#26 Post by K0LO » Tue Jun 27, 2006 10:16 pm

In case someone else reads this thread some day, which sequence of GRUB commands worked for you?
Mark

X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)

baraider
Junior Member
Junior Member
Posts: 464
Joined: Thu Feb 17, 2005 5:05 pm
Location: NYC
Contact:

#27 Post by baraider » Tue Jun 27, 2006 10:42 pm

This is my menu.lst file. Hope it can help with people planning to install Ubuntu on second HD. Thanks to all the help from many people here. I got more help here than on ubuntu forum.

Code: Select all

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.



## ## End Default Options ##


title      Ubuntu, kernel 2.6.15-23-686
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro quiet splash
initrd      /boot/initrd.img-2.6.15-23-686
savedefault
boot

title      Ubuntu, kernel 2.6.15-23-686 (recovery mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro single
initrd      /boot/initrd.img-2.6.15-23-686
boot


title      Ubuntu, memtest86+
root      (hd0,0)
kernel      /boot/memtest86+.bin
boot

title     Microsoft Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Current: T60 2623-D6U, Ideapad S12 (upgraded to XP Pro)
Past: T42

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 3 guests