| Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind). |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-22-2006, 04:29 PM
|
#1
|
|
LQ Newbie
Registered: May 2006
Posts: 13
Rep:
|
Sony Vaio Ubuntu XP dual boot?
I want to install Ubuntu 6.10 on a Sony Vaio TX3XP as a dual boot install. This would not usually be a problem but in this case the Sony Vaio has an unusual partition setup and as this is a work laptop I cannot afford to screw up the original Sony install. There are three partitions on the drive: A sony backup partition (which is invisible in windows), a C: drive with the XP operating system on and a D: drive for files etc. In linux they are labelled as Hda1, Hda2 and Hda5. The second drive (Hda2) is the boot drive! I want to resize drive D: (hda5) and add a new partition for Ubuntu (Hda6). This is not a problem - but I am not sure where to install the Grub bootloader - by default Ubuntu wants to put it on Hd0 but the boot drive is Hda2 - so where do I put the bootloader so that I get a choice of ubuntu or windows when I boot? On Hd0 or Hda2 ?
Any advice would be gratefully received.
drbongo
|
|
|
|
12-23-2006, 09:57 AM
|
#2
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
I have done this on a similar vaio, it works just fine:
Let (k)ubuntu resize hda6 to make a root and swap partitions.
kubuntu didn't give me any choice about installing grub when I installed 6.06 - it just went ahead and put it on the MBR, but it worked fine & I have never looked back. Yes, I still get a choice for windows, but I never use it after testing it once, just to see if it would load (it did).
|
|
|
|
12-23-2006, 11:03 AM
|
#3
|
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
Every partition has a boot sector. Thus a boot loader can be installed in any partition, except swap, without affecting the content inside.
If you put Linux boot loader in (hd0) this is for the whole disk and it means the MBR.
If you put a Linux boot loader inside its root partition (i.e. not the MBR) then it can only be booted by "another" boot loader controlling the MBR.
In your case the simplest is to put it in the MBR.
A stand alone XP is booted by MS version of the MBR but that can be re-generated by the XP or any Win2k installation CD. By installing a Linux it is standard to allow Linux's boot loader to "overwrite" whatever in the MBR which is only 512 bytes.
In a standard Kubuntu installation its Grub should automatically arrange to dual boot both systems. If it doesn't a lot of us here can fix it.
All boot loader's MBR portion can be regenerated by simple commands so don't lose sleep for losing any of them. Even for a laptop both Xp and Linux can be booted without the use of the MBR so don't let it scare you.
|
|
|
|
12-24-2006, 04:29 PM
|
#4
|
|
LQ Newbie
Registered: May 2006
Posts: 13
Original Poster
Rep:
|
Thanks for the encouraging advice - I hope to give it a try after Christmas! I will post here if it goes smoothly or even it all goes horribly wrong!
drbongo
|
|
|
|
03-13-2007, 07:01 AM
|
#5
|
|
LQ Newbie
Registered: May 2006
Posts: 13
Original Poster
Rep:
|
I can report back that the install worked fine although I had to partition the disk manually as there where already three partitions on the disk and the default partition setup did not give me enough space to install. I installed Ubuntu in the normal way and when the partition options where shown I edited it manually resizing the Windows D: drive to 1Gb(hda5) and creating a 26Gb+ ext3 logical partition for Ubunutu (hda4)and a 1Gb+ primary partition for swap(hda6). Everything else went fine - I now just have to sort out some of the function keys e.g. brightness control etc. Thanks for the help and encouragement.(hda1=recovery partition, hda2=Windows install,hda3=Extended partition)
drbongo
|
|
|
|
03-15-2007, 06:41 AM
|
#6
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
Well done!
Quote:
|
I now just have to sort out some of the function keys e.g. brightness control etc
|
This isn't too difficult: A google for fsfn and sonypi will probably get you started, and here's a "work in progress" page:
http://ubuntufs.wordpress.com/2007/0...torial-part-3/
|
|
|
|
03-16-2007, 04:36 AM
|
#7
|
|
LQ Newbie
Registered: May 2006
Posts: 13
Original Poster
Rep:
|
Thanks - I found a simple way to activate the brightness buttons/controls in Ubuntu on the TX3XP:
1- Open a Terminal
2- Type: sudo gedit /usr/share/hal/scripts/hal-system-lcd-get-brightness
3- Change /bin/sh for /bin/bash on the first line and save
4- Type: sudo gedit /usr/share/hal/scripts/hal-system-lcd-set-brightness
5- Change /bin/sh for /bin/bash on the first line and save
I found this at:
http://ubuntuforums.org/showthread.php?t=305141
This was the only thing I couldn't do, I can control the volume from the on screen slider and this means I can do what I want - I am not desperate for the other function buttons (CD eject would be handy). I will check out your help file again in a few weeks to see whether you have removed the 'testing' warning.
Thanks again for the help!
drbongo
|
|
|
|
03-16-2007, 01:02 PM
|
#8
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
Drbongo,
That's interesting - I didn't know about hal & brightness (I'm running 6.06.1).
I have my brightness & volume buttons working with sonypi & fsfn, so I am happy.
"Suspend" seemed to work when my battery went flat about a month ago, when the power was restored, everything came right back, no need even to login, but I can't be bothered with the S1 and S2 buttons that are supposed to do this on demand (rather than as a low-power panic).
Thanks for the interesting hal link though.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:51 AM.
|
|
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
|
|