LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   a hidden linux partition (https://www.linuxquestions.org/questions/linux-general-1/a-hidden-linux-partition-496869/)

adilturbo 10-30-2006 06:09 AM

a hidden linux partition
 
hi nice people

i rinstalled my windows XP (there was pblm),before i had grub with dual boot(linux and xp)now there is no grub.i can access only xp.how can i set the grup if possible,or any other solution

thanks

oneandoneis2 10-30-2006 08:32 AM

Windows always over-writes the MBR. You'll need a rescue CD to boot you into Linux, and from there you can re-install grub

adilturbo 10-31-2006 02:18 PM

hi again

could you pls tell me what is a rescue CD,and where can i find a grub in it(cd),is there options to select or....
thank you

pixellany 10-31-2006 03:59 PM

Title does not match the content---you do not have a "hidden partition".

You can boot from you Linux install disk or from any of several "Live CD" Linux distros---the most common is Knoppix. I like the Live CD approach the best. Once you have Linux running, do this:

Code:

fdisk -l    to see where all the partitions are  (let's assume that you have one IDE disk, and the Linux install is on /dev/hda2**)
grub        starts the GRUB shell
root (hd0,1)  Tells GRUB that it's files and the kernel are on the 2nd partition of drive 1  (GRUB counts from zero)
setup (hd0)    Puts GRUB on the mbr of drive 1
quit
reboot

You MAY then need to edit the grub.conf file (aka menu.lst) to point to your new Windows install.

**If you have SCSI or SATA, then you might have disks named sdX instead of hdX

To get Knoppix: http://www.knoppix.net/get.php

Next time around, make a grub boot floppy before installing Windows...
GRUB manual here: http://www.gnu.org/software/grub/manual/grub.html

adilturbo 11-05-2006 12:30 AM

hi again

really i want to think you deeply for the help and the links.

thank you again

cheers adil

pixellany 11-05-2006 09:10 AM

Quote:

Originally Posted by adilturbo
hi again

really i want to think you deeply for the help and the links.

thank you again

cheers adil

We need more newbies like this!!!
Also--good to see someone from Morocco--I think you are the first.

adilturbo 11-06-2006 07:31 AM

hello

here is an other newbiehere that i posted but i got no solution;may be you did not see it.i still have the pblm

thanks

adilturbo 11-21-2006 02:33 PM

hi again

i did what you told with knoppix every thing was right
ut when reooting i got only black

so any suggestion
thanks

pixellany 11-21-2006 07:23 PM

Quote:

Originally Posted by adilturbo
hi again

i did what you told with knoppix every thing was right
ut when reooting i got only black

so any suggestion
thanks

Please post the output of fdisk -l, and tell us in more detail what you did.


All times are GMT -5. The time now is 11:54 AM.