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 |
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.
|
 |
09-06-2007, 08:57 PM
|
#1
|
Member
Registered: Apr 2007
Posts: 121
Rep:
|
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?
|
|
|
09-06-2007, 10:31 PM
|
#2
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
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.
|
|
|
09-29-2007, 07:25 AM
|
#3
|
Member
Registered: Apr 2005
Location: Massachusetts, USA
Distribution: debian,ubuntu,slackware
Posts: 110
Rep:
|
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.
|
|
|
09-29-2007, 09:30 AM
|
#4
|
Member
Registered: Dec 2006
Location: UK
Distribution: Ubuntu 8.10
Posts: 80
Rep:
|
Quote:
Originally Posted by pokemaster
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)
|
|
|
09-29-2007, 03:15 PM
|
#5
|
Member
Registered: Jun 2007
Posts: 107
Rep:
|
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!
|
|
|
09-29-2007, 03:35 PM
|
#6
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
This thread is ~20 days old. For some reason, the original poster decided to continue his/her research here
|
|
|
09-29-2007, 03:38 PM
|
#7
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Boot with the linux install cd, choose type rescue at the boot prompt, and when you get in the rescue environment, reinstall grub.
|
|
|
All times are GMT -5. The time now is 09:08 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
|
|