Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
ok, it's been a while since i wanted to even venture back into XP... i had resized the partitions during the install so XP would have 16 gb, and mandrake linux would have 22 gb. well today i needed to go to my school's website, which only runs on netscape 4.5 but not any newer than 6.0, or MSIE. i rebooted, selected windows... the computer was loading, then restarted itself. so i popped in the WinXP cd, and try to restore... it says to type exit. i type exit, it restarts... and windows is still not there. so i reboot from cd again, and it says i have 4 parts of my hd... i know i split it into 2 - one for windows, one for linux. what's going on here? did i FUBAR major and lose all my info on windows? how do i know which partition is which - linux did not tell me the drive letters... apparently i have c, d, e, and g. what's going on here?
well, hda1 is your windows partition, and the * signifies that it's the bootable partition. hda2 is somewhat misleading, it doesn't really exist - you'll notice that the next three fit inside it when you look at the sectors. it's an extended partition, and the others are logical (since you can only have 4 primary partitions, if you want more than that you have to subdivide)
anyway, that's somewhat off topic. you may have a problem in your etc/lilo.conf file. if you posted that here we might be able to find a way to solve the problem without reinstalling windows bootloader. otherwise, that's not really all that difficult, and once you have xp booting again you can reinstall LILO pretty easily too.
I had a similar problem with Red Hat 8 when i was experimenting with running a web server before I put it on a dedicated machine. I am running Windows XP and it wouldnt boot. I mounted the windows partition from Red Hat and found that nearly all of my files had dissapeared. Luckily I had a backup and had to reinstall windows! I would check to see if your files are there first!
I am a newbie myself (back me up here vets) but, if you resized an existing xp partition you may have in essence wiped it. Now, Assuming you installed XP after you did the partitioning it, it is entirely possible you borked the xp mbr. If your xp install is good then boot with your xp cd (make a linux boot disk first!!!) go to the recovery console, instead of typing exit, type the following:
fixmbr [ENTER]
that will re-write the master boot record with what xp expects to see.... um, come to think of it, xp should have asked you which winodws OS you want to log into first. Sorta sounds like you borked the xp os when you resized the partitions.
Why will resizing partitions mess up the XP partition?
It depends on the type of partition.
If you want to resize a FAT32 partition, there is no problem.
However, Linux does not know how to correctly resize a NTFS partition.
So, it may be better to install winXP on a FAT32 partition.
WinXP will not have the secure file system setup, but anyways, windows is not even secure to begin with
Originally posted by mcd well, hda1 is your windows partition, and the * signifies that it's the bootable partition. hda2 is somewhat misleading, it doesn't really exist - you'll notice that the next three fit inside it when you look at the sectors. it's an extended partition, and the others are logical (since you can only have 4 primary partitions, if you want more than that you have to subdivide)
anyway, that's somewhat off topic. you may have a problem in your etc/lilo.conf file. if you posted that here we might be able to find a way to solve the problem without reinstalling windows bootloader. otherwise, that's not really all that difficult, and once you have xp booting again you can reinstall LILO pretty easily too.
also, as long as i run into lilo (how can i make it wait, say, 20 or 30 seconds?) and i am able to choose which OS i want to run, that will be great. the way it is set is for 7 seconds i think...
Originally posted by Bullzeye I am a newbie myself (back me up here vets) but, if you resized an existing xp partition you may have in essence wiped it. Now, Assuming you installed XP after you did the partitioning it, it is entirely possible you borked the xp mbr. If your xp install is good then boot with your xp cd (make a linux boot disk first!!!) go to the recovery console, instead of typing exit, type the following:
fixmbr [ENTER]
that will re-write the master boot record with what xp expects to see.... um, come to think of it, xp should have asked you which winodws OS you want to log into first. Sorta sounds like you borked the xp os when you resized the partitions.
XP was preinstalled when i bought this computer a year and half ago. i already have a linux boot disk... if i enter fixmbr, will that rewrite the mbr to what it originally was (ex. the restore program in XP, which restores your HD to the way it was at a certain date), would that overwrite LM?
ok, i did it, but it said it was going to install windows bootloader... i kinda want to keep lilo... any way i could access the data on the windows mbr from linux so i can save it before reinstalling the windows bootloader?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.