LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new install Debian Canterbury 2.6-586 grub took away my Win XP (https://www.linuxquestions.org/questions/linux-newbie-8/new-install-debian-canterbury-2-6-586-grub-took-away-my-win-xp-872499/)

hapibeli 04-01-2011 08:57 PM

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

EDDY1 04-01-2011 10:53 PM

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.

EDDY1 04-01-2011 11:05 PM

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.

hapibeli 04-01-2011 11:18 PM

Thank you EDDY1. I just updated, now I'll restart and see what I see!

k3lt01 04-02-2011 01:00 AM

Quote:

Originally Posted by hapibeli (Post 4311214)
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.

hapibeli 04-02-2011 01:05 AM

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?

EDDY1 04-02-2011 01:47 AM

Fooled me too.
In the link above under
Change script boot order by changing numbers

EDDY1 04-02-2011 01:58 AM

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


All times are GMT -5. The time now is 02:44 AM.