You can rewrite grub using the Kubuntu Live CD or any other one. Got to https://help.ubuntu.com/community/Grub2/Installing see the section: Reinstalling GRUB 2 from a Working System
It is rather simple really. You just open a terminal and copy and paste the line that looks like: sudo grub-install /dev/sda It should detect any installed OS and give it a grub entry. Roy Using Kubuntu 12.10, 64-bit Location: Canada On 28 October 2012 22:36, Joan Leach <[email protected]> wrote: > ** > > > Do you have a Windows CD to boot from? Do you know the Admin Password? For > WinXP, I've used Fixboot and FixMBR, then later I've used the Grub Disk > Repair CD. I hope you remembered to run Defrag on the Windows hard drive > before resizing its partition. > > Excuse if I left out any steps, but others have no doubt run into this > more than I have. > > Joan in Reno > > --- On Sun, 10/28/12, Pascal <[email protected]> wrote: > > From: Pascal <[email protected]> > Subject: [LINUX_Newbies] Recover Windows Partition_GRUB does not recognize > Windows partition > To: [email protected] > Date: Sunday, October 28, 2012, 4:48 PM > > > > I wanted to shrink a Windows-XP partition under a dual boot setup (Kubuntu > 12.10), in order to install a different Linux and have more space for it on > the harddrive. So I resized it via ntfsresize -b -s 60GB (original size was > 90GB). Kubuntu's GRUB booted Windows correctly. Then I deleted the > NTFS-partition with fdisk and recreated in its place a smaller one (size > 61GB, a little bigger than the newly shrunk file system). Unfortunately I > did not pay attention to the starting point of the original Windows > partition, and had it start on the default value fdisk assumes, that is > 2048. > > All of a sudden, Kubuntu's GRUB told me that no partition was found, I had > deleted the Linux partitions behind Windows in the meantime, as Siduction's > installer (I did not want Ubuntu stuff anymore) does not feature a working, > easy to use partioning tool like gparted. Somehow the installed GRUB barely > understood (that is, it understood some but not all) GRUB2 and GRUB > commands when it dropped to grub shell on bootup. It saw the > NTFS-partition, but I could not make it boot it. > > ls & set root=(hdX,Y) worked > > drivemap -s (hd0) ${root} didn't > > so I was stuck > > Then I installed Siduction and Fuduntu on the free disk space. Both > installed their respective GRUB into the MBR of the partition, but neither > of them detected a Windows OS. Right now I can choose between Siduction and > Fuduntu. The command os-prober wasn't successful either. I cannot mount > (Running Fuduntu or Siduction) the partition (/dev/sda1), for I'm told, > that it doesn't contain a valid NTFS file system. > > Does somebody know how to fix that? Do I have to reinstall Windows? > > Pascal > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed] ------------------------------------ To unsubscribe from this list, please email [email protected] & you will be removed.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
