Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yesterday I decided to physically move my windows partition to a different part of the drive. To do this i had to image that partition, then delete it, recreate it in a different spot and then restore the data to the partition.
The clever bit (i thought) was that the partition was in a physically different spot, but it was still called the same thing as it was before--> /dev/sda1. However now when i try to boot into windows from grub i get the error message:
root (hd0,0)
filesystem type unknown, partition type 0x7
Post the output of 'fdisk -l' (without quotes) and the content of /etc/fstab. Someone here should be able to tell you what edit to make in your /boot/grub/menu.lst.
well using rootnoverify (hd0,0) did get rid of the error message described earlier, however now when i try to boot windows grub just stops after printing:
to me this says that grub is working fine, rather it is when grub passes the control over to the windows bootloader that things start breaking
so this thread has fast become a 'windows question thread' but i shall ask my question anyway: is there a way to restore the windows bootloader from out side of windows....???
no worries, I think i have worked it out. All i need to do boot up using the windows xp cd and go to the recovery console or something and tyoe fixmbr. This will either do one of two things..
either it will install the windows boot loader at the beginning of the windows partition, in which case the chainloader +1 line in the grub menu.lst file should pass control to this and it should work straight up
or
less desirably is that it completely wipes my mbr of my drive and (erasing grub) and shoves the windows boot loader there, in which case i shall have to reinstall grub from a live cd....no worries.....but i'm not sure if this will fix the lack of bootloader at the beginning of the /dev/sda1 (windows) partition
anyways either way it shall have to wait as i'm going on holidays for a week without my computer
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.