Sony Vaio, windows Xp does not work, only linux fedors boot

For discussing Linux compatible (or not) devices

Moderators: ChrisThornett, LXF moderators

Sony Vaio, windows Xp does not work, only linux fedors boot

Postby mortezart » Fri May 19, 2006 1:12 pm

Hello

I am a new user:
> I installed Linux feedura( from disc LXFSO5B/04/06), on my laptop(sony modelPCG-K33 vaio)
> right now I am only with Linux fedora, without windows xp, I have
some important data on my windows xp,
> how do i remove linux and then install it correctly?

all the best
Morteza
my email: morteza@morteza.org
mortezart
 
Posts: 2
Joined: Fri May 19, 2006 1:01 pm

RE: Sony Vaio, windows Xp does not work, only linux fedors b

Postby Gordon » Fri May 19, 2006 4:00 pm

Try making sure you have the following entry in the file

/boot/grub/menu.lst

Code: Select all
title Windows XP Pro
    chainloader (hd0,0)+1


Or it might need to be

Code: Select all
title Windows XP Pro
    chainloader (hd0,1)+1


On my sony vaio laptop the second is the one that boots xp since the first partition on the hard drive is the sony rescue system.
Violence is the last refuge of the incompetent
User avatar
Gordon
LXF regular
 
Posts: 209
Joined: Thu Apr 07, 2005 5:01 pm
Location: Bradford, West Yorkshire

RE: Sony Vaio, windows Xp does not work, only linux fedors b

Postby mortezart » Fri May 19, 2006 4:10 pm

hello
I am using simply mepis3.4 now
where do i go to change the code?
could u please instruct me, step by step?
I am novice suer in linux?
last question: what distribution is better for laptops and dell pc?
mortezart
 
Posts: 2
Joined: Fri May 19, 2006 1:01 pm

RE: Sony Vaio, windows Xp does not work, only linux fedors b

Postby spottedcat » Fri May 19, 2006 4:20 pm

In Fedora 5, the file /boot/grub/menu.lst is actually called /boot/grub/grub.conf. Different distros use one of the two filenames, mortezart, but they both do the same thing. My Sony Vaio also has windows on the second partition so Gordon's second code is probably the one you want. Also, near the beginning of the file you'll find a line which says 'hiddenmenu' (without the quotes). Add a hash mark in front so that it looks like:

Code: Select all
# hiddenmenu


Actually, come to think of it, Gordon's line is probably already in there, but because of hiddenmenu you are not seeing it. Next time you boot up, as soon as you see the splash screen, hit the space bar and you should see the choice of Fedora or Windows. Use the up and own arrow keys and enter to make your choice. If you do see this and you want to lengthen the time before it boots into the default of Fedora, post back and either Gordon or I will tell you what to edit in grub.conf

Edit: You posted about Mepis before I finished my post. What are you seeing now? Can you boot into Windows? Mepis doesn't have a hiddenmenu. Don't worry - we'll get you sorted out. It's quite easy to edit the file.
spottedcat
LXF regular
 
Posts: 971
Joined: Mon Oct 31, 2005 3:14 pm
Location: UK

RE: Sony Vaio, windows Xp does not work, only linux fedors b

Postby towy71 » Fri May 19, 2006 4:28 pm

mepis, annoyingly remembers what you last booted and boots that automatically, can't remember what bit you have to comment out to stop it doing that though :roll:
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4262
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

RE: Sony Vaio, windows Xp does not work, only linux fedors b

Postby spottedcat » Fri May 19, 2006 4:37 pm

It's quite possible, Towy, that the hidden hda1 partition on a Sony Vaio is confusing the installer. That's what happened to me when I installed SuSE 10.1. Halfway through the install at the reboot stage it booted me back into Windows - no choice at all. 'Handy,' I thought. Fortunately I was able to repair the SuSE menu.lst (or is that grub.conf? :roll:), and carry on as thought nothing untoward had happened.

Despair not, mortezart. Help is at hand!
spottedcat
LXF regular
 
Posts: 971
Joined: Mon Oct 31, 2005 3:14 pm
Location: UK

Re: RE: Sony Vaio, windows Xp does not work, only linux fedo

Postby nelz » Fri May 19, 2006 5:11 pm

towy71 wrote:mepis, annoyingly remembers what you last booted and boots that automatically, can't remember what bit you have to comment out to stop it doing that though :roll:


Comment out "default lastsaved" in /boot/grub/menu.lst
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8468
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

RE: Re: RE: Sony Vaio, windows Xp does not work, only linux

Postby GMorgan » Fri May 19, 2006 6:01 pm

I thought grub.conf was a Gentoo tool. It's used there in case you want to unmerge GRUB (why would you ever want to do that). This way the file is maintained and a emerge just symbolic links menu.lst to grub.conf. Anyway I managed dual boot alright with Mepis, never noticed any last boot nonsense going on though that maybe because I altered GRUB myself or something (indeed I tore it apart when trying to get Nvidia to work with my new kernel. Nvidia as standard but hard work if you try to change something).

Anyway I've had success with Ubuntu on Laptops but haven't tried much else to be honest.
GMorgan
LXF regular
 
Posts: 684
Joined: Thu Jan 12, 2006 6:58 pm
Location: South Wales, UK

Re: RE: Sony Vaio, windows Xp does not work, only linux fedo

Postby towy71 » Fri May 19, 2006 7:23 pm

nelz wrote:Comment out "default lastsaved" in /boot/grub/menu.lst

thanks nelz, where would we be without you ;-)
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4262
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

RE: Re: RE: Sony Vaio, windows Xp does not work, only linux

Postby nelz » Fri May 19, 2006 8:38 pm

grub.conf isn't a tool, just a file. GRUB originally used grub.conf then switched to menu.lst. Many distros still symlink one to the other. It only matters which you use if you have /boot/grub on a filesystem where GRUB can't handle symlinks, like FAT or ISO9660.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8468
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

RE: Re: RE: Sony Vaio, windows Xp does not work, only linux

Postby GMorgan » Sat May 20, 2006 11:35 am

My mistake then. With Gentoo storing all configurations in such files I assumed this was the same especially given the symlink.
GMorgan
LXF regular
 
Posts: 684
Joined: Thu Jan 12, 2006 6:58 pm
Location: South Wales, UK

RE: Re: RE: Sony Vaio, windows Xp does not work, only linux

Postby nelz » Sun May 21, 2006 8:28 am

All distros store configurations in files, although Lindows used to keep passwords in a post-it note on the side of the monitor :)
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8468
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests