LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2007, 08:57 PM   #1
Chronothread
Member
 
Registered: Apr 2007
Posts: 121

Rep: Reputation: 15
Update Of Linux Killed My Windows


I know, it kind of sounds like a good thing that my windows died, but it's useful to have it as a dual-boot to go to for somethings. I was just wondering what the heck happened. I was using adapt to update a few things and when I restarted back into my dual boot menu windows was gone. Anyone have any clue what happened?
 
Old 09-06-2007, 10:31 PM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
You give so little information that it's pretty much down to a wild guess what could have happened. My guess is your bootloader got upgraded and didn't configure Windows.

You'll need to tell us what distro you're using, what kind of update you did (I'm not familiar with adapt - maybe adept?).

It would also help to know on which partitions Windows and Linux are installed and to see the config file of your bootloader.
 
Old 09-29-2007, 07:25 AM   #3
pokemaster
Member
 
Registered: Apr 2005
Location: Massachusetts, USA
Distribution: debian,ubuntu,slackware
Posts: 110

Rep: Reputation: 17
Going with the idea that adapt is really adept, and therefore assuming you're using Kubuntu or similar, you hafta edit /boot/grub/menu.lst.

If you don't know how to edit it, do this:
1) open Konsole
2) type "sudo gedit /boot/grub/menu.lst"
You'll notice there are stanzas throughout the file, one for each entry you see at boot time. Add another stanza all the way at the end (after "end of automagic kernel list") that looks like this one:

title Microslop Windoze
root (hd0,0)
chainloader +1
boot

If it's after the "end of automagic" line, it shouldn't get clobbered next time you do an update.
 
Old 09-29-2007, 09:30 AM   #4
MattJUK
Member
 
Registered: Dec 2006
Location: UK
Distribution: Ubuntu 8.10
Posts: 80

Rep: Reputation: 15
Quote:
Originally Posted by pokemaster View Post
Going with the idea that adapt is really adept, and therefore assuming you're using Kubuntu or similar, you hafta edit /boot/grub/menu.lst.

If you don't know how to edit it, do this:
1) open Konsole
2) type "sudo gedit /boot/grub/menu.lst"
You'll notice there are stanzas throughout the file, one for each entry you see at boot time. Add another stanza all the way at the end (after "end of automagic kernel list") that looks like this one:

title Microslop Windoze
root (hd0,0)
chainloader +1
boot

If it's after the "end of automagic" line, it shouldn't get clobbered next time you do an update.
If you are using Kubuntu or another KDE based operating system then you will want to ues "sudo kate /boot/grub/menu.lst" instead of gedit (gedit is for gnome)
 
Old 09-29-2007, 03:15 PM   #5
zephyrcat
Member
 
Registered: Jun 2007
Posts: 107

Rep: Reputation: 15
If you know that Windows is on the first partition, ignore this.

If Windows is not on the first partition you will need to change the "root (hd0,0)" (from the previous posts) you will need to look for the partition numbers in some partition editor and make sure you are pointing to the right partition. If the numbering starts and 1 in the partition editor you will need to subtract one. Then change the second zero in that line to the correct number.

Hope that helps!
 
Old 09-29-2007, 03:35 PM   #6
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
This thread is ~20 days old. For some reason, the original poster decided to continue his/her research here
 
Old 09-29-2007, 03:38 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Boot with the linux install cd, choose type rescue at the boot prompt, and when you get in the rescue environment, reinstall grub.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 update or gxmame killed my graphics Sm1ler Linux - Laptop and Netbook 2 09-21-2005 03:30 AM
redhat linux update databse's type and utility like windows update services kamii47 Linux - General 1 04-18-2005 05:50 AM
Perl update killed spamassasin Gates1026 Linux - General 3 01-24-2005 02:49 PM
xp update killed my linux drive salparadise Linux - Newbie 10 12-06-2002 04:59 PM
Help - nvidia update killed display frocco Linux - Distributions 1 07-17-2002 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration