LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Doubt on Partitioning hard disk ! (https://www.linuxquestions.org/questions/linux-newbie-8/doubt-on-partitioning-hard-disk-91240/)

shaahul 09-10-2003 09:21 AM

Doubt on Partitioning hard disk !
 
hi

I have a 10 GB hard disk- 6.5 GB for windows and rest for linux. I have been getting a lot of errors (like getting a blue screen) on windows especially when I connect to the internet on windows. And recently I 've got a prob with windows registry. So I have decided to format the windows partition of 6.5 GB.

I have already copied some imprtant files I would require to the linux partition so that after I format and install windows, I could copy the files back to the windows partition.

My query is- Will there be any problem after I format the windows partition and reinstall windows because I have linux on the other partition? Will there be any problem with the GRUB loader?



Bye



Shaahul

ranger_nemo 09-10-2003 10:21 AM

There prob'ly will be... Windows will take-over the MBR and point it to hda1. Before you do the re-install, be sure to make a bootdisk for Linux, and make sure it works. Then, after you re-install Windows, you can boot to Linux, and reset GRUB. As root, run...

grub

...That will give you a grub> prompt. Then...

grub> root (hd0,1)
grub> setup (hd0)
grub> quit

That should reset GRUB. Hopefully, somebody else will post any corrections.

Eqwatz 09-10-2003 06:18 PM

If you are doing a clean install of windows, you may want to repartition the drive and split up the windows partition into: one partition for the windows itself. and another partition for your programs, mail, and data. It is fairly easy and makes for a more stable windows O.S.. You can keep your back-ups there and it makes reloading a breeze as you can export your settings and mail.

ranger_nemo 09-10-2003 07:17 PM

Quote:

If you are doing a clean install of windows, you may want to repartition the drive....
If you do split the Windows partition, you might have trouble with booting Linux... The partition numbers might change, and Linux might not recognize which it needs to mount where.

Take a look at your /etc/fstab file. If it lists partitions like "LABEL=/", then you should be OK. If it lists them like /dev/hda2, then you might have trouble. If there is an extended partition (/dev/hda5), and your Linux partitions are logicals (/dev/hda6), then you should also be OK.

Eqwatz 09-11-2003 08:59 AM

Whoops! I assumed he knew that.


All times are GMT -5. The time now is 09:15 PM.