SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I was working with some mbr tools, and did something wrong. Now i can't load windows xp, from the boot menu, but i still got slackware. When i load windows, it just does not find the partition and asks to reboot. Still i can access all the windows files using slackware.
What should i do to make windows boot?
Do you know what you changed when you were working with the MBR? Which boot loader are you using, and could you post its configuration file? How is your HDD partitioned?
Disk Drive: /dev/hdc
Size: 40060403712 bytes, 40.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 4870
Name Flags Part Type FS Type [Label] Size (MB)
---------------------------------------------------------------------------------------
hdc1 Boot Primary NTFS 7205.35
hdc5 Logical NTFS [^C] 27003.60
hdc6 Logical Linux ReiserFS 5848.18
as you can see, the flag of windows partition is set to boot
Do you know what you changed when you were working with the MBR? Which boot loader are you using, and could you post its configuration file? How is your HDD partitioned?
Here is the part of lilo.conf:
# Windows bootable partition config begins
other = /dev/hdc1
label = Windows
table = /dev/hdc
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdc6
label = Linux
read-only
# Linux bootable partition config ends
I don't know what exactly i did, but i was trying to make windows rewrite mbr
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 876 7036438+ 7 HPFS/NTFS
/dev/hdc2 877 4870 32081805 f W95 Ext'd (LBA)
/dev/hdc5 877 4159 26370666 7 HPFS/NTFS
/dev/hdc6 4160 4870 5711076 83 Linux
Yes, there is a problem.
hdc1 starts at 1 and ends at 876.
hdc2 starts at 877 and ends at 4870. - This end point is wrong.
hdc5 starts at 877 and ends at 4159. - This start point is wrong.
hdc6 starts at 4160 and ends at 4870.
Do you know what the settings were before changes were made? If so, you can make changes with cfdisk.
Did you use the dd command to make a copy of the MBR before you started? If so, replace the copy.
I damaged mbr, using the programs from usb flash boot drive. I saved backup, but then flash stopped booting, and i guess, backups are gone. I didn't have hdc3 and hdc4 partitions even before making changes to mbr, so it's not the problem.
How valuable is the data on hdc2 and hdc5? If you have no record of the original disk partitioning, you may no choice but to reformat these partitions.
I have only 3 partitions:
1. windows
2. windows data
3. slackware
hdc2 is extended partition(don't know what it means) and hdc5 is windows data partition, which i can access using slackware without problems.
as u can see:
hdc1 Boot Primary NTFS 7205.35
hdc5 Logical NTFS [^C] 27003.60
hdc6 Logical Linux ReiserFS 5848.18
all is working perfectly in slackware, as cfdisk shows.
I would like to save data.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.