Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
07-19-2006, 11:59 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Rep:
|
Attempting dual-boot Windows/Ubuntu - hard freeze??
Hey guys, I have a little experience with Fedore Core but am brand new to Ubuntu. I have an IBM Thinkpad T41 laptop running XP that I want to install Ubuntu on and dual-boot. Following an article at linuxdevcenter, here's the steps I followed:
1. Booted my laptop using a live Gentoo "system resuce CD" which includes qtparted.
2. Using qtparted I paritioned my drive like this: 2 NTFS partitions for Windows (they already existed - C: and D: drives), I added an ext3 partition for Ubuntu, a 2GB swap partition, and a a 10GB fat32 partition which will be shared between Windows and Ubuntu.
3. The partitioning went just fine, so I rebooted and installed Ubuntu. (version 6.x something...)
4. Installation went fine. It asked me if I wanted it to update the Master Boot Record so I could dual-boot. I said yes. Finally, I rebooted my laptop and sure enough - Grub ran and gave me the following choices: Ubuntu, Ubuntu recovery mode, and Windows XP. Yay! I first booted into Windows just to make sure it was working properly and it was. Yay again!
So far so good, but then I rebooted and tried booting into Ubuntu. About 5 seconds in, it hard-locked the laptop. On the screen, it said "Uncompressing Linux, OK. booting the kernel..."
It's right as this point that it freezes hard. Even if I try booting into the "Ubuntu - recovery mode" option it does the same thing.
So my questions are:
1. Any guesses as to why it's freezing? Hardware/driver incompatibility? This is a fairly common laptop with no "unusual hardware" in it.
2. I should probably wipe the Linux partition and try reinstalling, however, what about my Master Boot Record? How do I revert that back to the way it used to be?
Thanks in advance for any help, and sorry this was such a wordy post - but I wanted to make sure I was including as much info as possible.
|
|
|
07-19-2006, 12:04 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
To reinstall, you can just boot from the CD and then have it write to the MBR again. You don't have to wipe the MBR to start over....
One change you might make is to make small separate /boot partition. That way if you do ever want to just delete the linux partition, grub's config files are still there to boot Windows.
My guess would be hardware also. My only thought is to try booting with some options like noacpi. But I don't remember off the top of my head how to include those from the grub boot menu...
|
|
|
07-19-2006, 01:13 PM
|
#3
|
Member
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
|
Hi!
Is backing up all your Xp data, wiping the entire drive and re-installing from scratch an option?
I know that in my experience (which is not extensive by any means) with resizing partitions on a working system, has the potential of causing alot of problems!
I use an external drive for all my important stuff for this very reason. I am always (just for kicks), formatting, reformatting, installing and re-installing, and I have NEVER had a problem dual-booting when installing onto a clean HD.
Just be sure to install Windows first, as old Billy G. isnt very friendly and doesnt like sharing his PC's with other OS's!
Good Luck!
|
|
|
07-19-2006, 01:20 PM
|
#4
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Quote:
Originally Posted by pljvaldez
To reinstall, you can just boot from the CD and then have it write to the MBR again. You don't have to wipe the MBR to start over....
One change you might make is to make small separate /boot partition. That way if you do ever want to just delete the linux partition, grub's config files are still there to boot Windows.
My guess would be hardware also. My only thought is to try booting with some options like noacpi. But I don't remember off the top of my head how to include those from the grub boot menu...
|
Thanks for the reply, OK I'll go ahead and try re-installing - I'm not familiar with how the MBR works so I didn't know if it was OK to just start over.
If I was to just plain delete the Linux partition, what would happen to grub? Would it still be around prompting me to pick an OS? (would it realize ubuntu had been removed?)
|
|
|
07-19-2006, 01:22 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Quote:
Originally Posted by randell6564
Hi!
Is backing up all your Xp data, wiping the entire drive and re-installing from scratch an option?
I know that in my experience (which is not extensive by any means) with resizing partitions on a working system, has the potential of causing alot of problems!
I use an external drive for all my important stuff for this very reason. I am always (just for kicks), formatting, reformatting, installing and re-installing, and I have NEVER had a problem dual-booting when installing onto a clean HD.
Just be sure to install Windows first, as old Billy G. isnt very friendly and doesnt like sharing his PC's with other OS's!
Good Luck!
|
It would probably be a last resort option. The laptop is my work laptop, and our IS dept. probably isn't too keen on my doing this anyway. If all else fails then maybe I'll try that.
|
|
|
07-19-2006, 03:12 PM
|
#6
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Quote:
Originally Posted by eagle63
If I was to just plain delete the Linux partition, what would happen to grub? Would it still be around prompting me to pick an OS? (would it realize ubuntu had been removed?)
|
My understanding of grub is that it essentially has two stages. Stage 1 lives in the MBR and that stage points grub to your /boot partition (where grub's config files are). Then once it reads those files, it loads stage 2. Stage 2 does the actual OS loading.
So if you make just a single linux partition where /boot lives inside "/", when you delete /, you also delete boot and grub can't load stage 2. So you wouldn't get any sort of menu. You might get a "grub>" prompt that you could enter the commands by hand to boot your OS, but I'm not sure of that.
So by creating a separate /boot partition, if you just decide to delete your linux one day, you would still get the grub menu and be able to boot windows. If you don't make a separate /boot, you'll have to boot with a windows disk and fdisk /mbr or fixmbr (I don't remember which one XP uses).
|
|
|
07-19-2006, 09:39 PM
|
#7
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Well, still no luck. I tried deleting the linux partions I originally created using qtparted. This worked, although when I rebooted I got a Grub error and couldn't do anything. (except reboot into a system rescue CD and REINSTALL Ubuntu) When Ubuntu is installed, I at least get a Grub menu where I can choose between Ubuntu (which causes everything to freeze) or XP which works fine.
So, it seems as though I've painted myself in a corner - I need to have Ubuntu installed in order to even have boot choices, but I can't use Ubuntu at all.
So apparently Grub has installed itself - to some degree - in the MBR. If this isn't undoable then I may need to look at wiping the whole drive and starting over.
|
|
|
07-19-2006, 10:02 PM
|
#8
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Quote:
Originally Posted by eagle63
So, it seems as though I've painted myself in a corner - I need to have Ubuntu installed in order to even have boot choices, but I can't use Ubuntu at all.
|
As I said, during the Ubuntu install, create a separate /boot partition and use that. Then you can delete Ubuntu and still use grub.
Quote:
Originally Posted by eagle63
So apparently Grub has installed itself - to some degree - in the MBR. If this isn't undoable then I may need to look at wiping the whole drive and starting over.
|
Definitely DO NOT wipe the whole drive!!!! As I said above, you just need to get a Windows boot disk and do fdisk /mbr if it's a Win95/98/ME boot disk or fixmbr if you use your XP install CD.
|
|
|
07-20-2006, 11:10 AM
|
#9
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Ok, thanks - yes next time I will create a /boot partition for sure. I'm going to see if I can get ahold of a Windows install disc and try the fdisk/mbr thing. Thanks for the help!
|
|
|
07-20-2006, 11:35 AM
|
#10
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
If you can't find one, look on http://www.bootdisk.com/
|
|
|
07-28-2006, 08:51 AM
|
#11
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Well after re-trying this multiple times after fixing my MBR (thanks pljvaldez, the fixmbr thing worked great!) I get the same problem each time: the laptop hard-locks immediately upon booting Ubuntu.
I must say I'm a little disappointed. I'm not running unusual or old hardware, it's a year-old IBM T41 laptop. I can successfully run Linux using Knoppix and Gentoo "live" CD's on this laptop. But Ubuntu freezes everything. Now maybe if I wiped the drive clean and started from scratch installing Ubuntu, rather than trying the dual-boot thing I'd have better success. But I don't *think* I'm doing anything wrong by trying to dual-boot.
If anyone has any final ideas to try I'm game, otherwise I think I'll give up on Ubuntu for the time being. Thanks to all who responded!
|
|
|
07-28-2006, 12:08 PM
|
#12
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Try installing with the noacpi option (or is it acpi off). I can't remember the exact syntax to use. many times on an initial install the power management aspect (ACPI) of laptops gives problems. I installed Debian sarge on my laptop and had to use noacpi. Then I had to recompile a much newer kernel to make it work...
|
|
|
07-28-2006, 01:00 PM
|
#13
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Quote:
Originally Posted by pljvaldez
Try installing with the noacpi option (or is it acpi off). I can't remember the exact syntax to use. many times on an initial install the power management aspect (ACPI) of laptops gives problems. I installed Debian sarge on my laptop and had to use noacpi. Then I had to recompile a much newer kernel to make it work...
|
Is that a command-line thing? When I've been installing Ubuntu I've just been picking the "hard disk installation" from the main graphical menu. It's actually a nice install as it walks you through the steps nicely.
|
|
|
07-28-2006, 01:01 PM
|
#14
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
I've not installed the new Ubuntu, it used to have an ncurses based installer (the same one Debian uses) and had the boot: prompt at install time...
|
|
|
07-28-2006, 01:03 PM
|
#15
|
LQ Newbie
Registered: Mar 2005
Posts: 29
Original Poster
Rep:
|
Quote:
Originally Posted by pljvaldez
I've not installed the new Ubuntu, it used to have an ncurses based installer (the same one Debian uses) and had the boot: prompt at install time...
|
ahh, actually I think ubuntu has that too. I probably just hit enter when I saw it. So I should type noacpi at the boot: prompt and then hit enter?
|
|
|
All times are GMT -5. The time now is 06:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|