LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-01-2011, 09:57 PM   #1
hapibeli
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Rep: Reputation: 0
new install Debian Canterbury 2.6-586 grub took away my Win XP


i HAVEN'T PLAYED WITH lINUX SINCE 2002. I just loaded Debian Canterbury on my old HDD running as a slave to my Win XP drive. Where and with what can I edit Grub in this distribution? Also, what is the best edit to set Win XP as the boot first choice? My lovely lady uses Windows ONLY! Thanks to all...
Does /boot/grub/menu.lst exist on this distro of Debian? If so, where is it???
{The 500G drive is just Win XP storage}

# sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfd9dfd9d

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19456 156280288+ 7 HPFS/NTFS

Disk /dev/sdb: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1b401b3f

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4790 38468608 83 Linux
/dev/sdb2 4790 4998 1675265 5 Extended
/dev/sdb5 4790 4998 1675264 82 Linux swap / Solaris

Disk /dev/sdc: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf6794113

Device Boot Start End Blocks Id System
/dev/sdc1 1 60800 488375968+ 7 HPFS/NTFS

Last edited by hapibeli; 04-01-2011 at 11:59 PM. Reason: adding more info
 
Old 04-01-2011, 11:53 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you elected to install grub2
http://www.dedoimedo.com/computers/grub-2.html
As far as getting windows to boot,
run
"os-prober"
then
"update-grub"

I've been told os-prober is done on update-grub, but I always include it.
 
Old 04-02-2011, 12:05 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Does /boot/grub/menu.lst exist on this distro of Debian? If so, where is it???
{The 500G drive is just Win XP storage}
Grub2 has /boot/grub/grub.cfg
update-grub will add windows entry to boot loader.

Last edited by EDDY1; 04-02-2011 at 12:06 AM.
 
Old 04-02-2011, 12:18 AM   #4
hapibeli
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you EDDY1. I just updated, now I'll restart and see what I see!
 
Old 04-02-2011, 02:00 AM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by hapibeli View Post
i HAVEN'T PLAYED WITH lINUX SINCE 2002. I just loaded Debian Canterbury on my old HDD running as a slave to my Win XP drive.
I wouldn't be to worried about Grub at the moment if you loaded Debian Canterbury. Just so you know Debian Canterbury is an April fools joke.
 
Old 04-02-2011, 02:05 AM   #6
hapibeli
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Fooled me! :-) :-)
Thanks again EDDY1. I'm up on Win XP at the moment...If I could get a script to place XP as the primary, my wife would appreciate it?
 
Old 04-02-2011, 02:47 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Fooled me too.
In the link above under
Change script boot order by changing numbers
 
Old 04-02-2011, 02:58 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
This tutorial was suggested by REPO on another post
http://ubuntuforums.org/showthread.php?t=1195275

Another here
http://ubuntuforums.org/showthread.php?t=1308665

Last edited by EDDY1; 04-02-2011 at 03:06 AM.
 
  


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
Recover grub bootloader after win install! teronslair Linux - Newbie 15 03-07-2010 01:25 AM
Win XP + slackware 12 . + grub: how to install? wingevil Slackware 4 07-30-2009 07:18 AM
How to restore Grub after Win Xp install MRMadhav General 18 04-04-2008 09:20 AM
Grub bootloader for Debian 4.0 and Win XP error 17 GSX Debian 15 06-11-2007 06:46 AM
GRUB vanish after install WIN anindyanuri Linux - Software 7 06-30-2005 11:38 AM


All times are GMT -5. The time now is 03:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration