LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem with multiple boot (https://www.linuxquestions.org/questions/linux-general-1/problem-with-multiple-boot-4175471130/)

nanobahr 07-27-2013 10:40 AM

problem with multiple boot
 
hello everyone
i have a pc whic i installed xp on it then i cleared the mbr of my hdd then i installed linux mate , i was surprised that my linux can't auto detect my xp system i'm using burg as a boot manager and i need to know the right menu entery to manually add my xp system to the burg.cfg

thanks for your time .

michaelk 07-27-2013 11:22 AM

You might need to provide a bit more information. Clearing out the MBR would look like an empty disk to the installer and XP would of been overwritten.

Post the output of the following command:
sudo fdisk -l

nanobahr 07-27-2013 11:41 AM

raniscance raniscance # sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe0f74ddb

Device Boot Start End Blocks Id System
/dev/sda1 63 4289354 2144646 82 Linux swap / Solaris
/dev/sda2 4289355 47006189 21358417+ 83 Linux
/dev/sda3 * 47006190 88100459 20547135 7 HPFS/NTFS/exFAT
/dev/sda4 88100864 976771071 444335104 5 Extended
/dev/sda5 88102912 976771071 444334080 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x350e4444

Device Boot Start End Blocks Id System
/dev/sdb1 2048 976773119 488385536 5 Extended
/dev/sdb5 4096 485253119 242624512 7 HPFS/NTFS/exFAT
/dev/sdb6 485255168 976773119 245758976 7 HPFS/NTFS/exFAT



my windows xp partiton is sda3 .

michaelk 07-27-2013 12:24 PM

I have not had the pleasure to play with burg but the easiest might be to install os-prober (if not already) and regenerate your burg.cfg file

sudo burg-mkconfig -o /boot/burg/burg.cfg

nanobahr 07-27-2013 01:52 PM

so i'll need to fix my mbr to boot with burg cause if i fresh install xp it will overwrite the mbr .

michaelk 07-27-2013 02:20 PM

Yes, It looks like your XP partitions are still intact.

nanobahr 07-27-2013 02:23 PM

i want to try to add the right lines at burg.cfg before i fresh install xp , can u help me to get those lines ?

yancek 07-27-2013 03:07 PM

The only thing I know about burg is that it is grub spelled backwards. As pointed out to you above, you could easily do this with Grub by using sudo os-prober and then sudo update-grub. It's not clear which distribution of Linux you are using as 'Mate' just refers to the Desktop which is used by a number of different distributions.

Where do you have 'burg' installed, on the Linux partition or windows? Maybe there is a 'burg' forum.

nanobahr 07-27-2013 08:59 PM

i use linux mint and the place i installed burg is to mbr of sda

yancek 07-27-2013 11:21 PM

Quote:

i use linux mint and the place i installed burg is to mbr of sda
From Mint? Do you have the standard files such as the grub.cfg file used in grub? If there is, why not manually enter a chainloader entry for windows pointing to sda3? What do you see as output on the screen when you run sudo os-prober as suggested above?

nanobahr 07-28-2013 06:29 AM

raniscance@raniscance ~ $ sudo os-prober
[sudo] password for raniscance:
No volume groups found


All times are GMT -5. The time now is 01:04 AM.