congrats
Printable View
congrats
i did the same thing i deleted my linuxmint partitions and extended the end of my windows partition as far as i could and now i can't boot anymore.
I'm having the grub problem with the error 22. I downloaded the ms-sys package installed it and followed the directions, but it still didn't work, my computer still hangs at the grub loading error 22. also when i try to do sudo ms-sys -m/dev/hda(or sda) it says "unable to open -m/dev/sda(hda), no such file or directory".
im at a loss of what to do here. to make it worse, at some point while i was trying the mssys, all partitions dissapeared from my fdisk -l except for sda1 which appears to be the useless recovery partition that comes with my computer. it is set as the boot. the partition containing my windows is hda1. i don't think it's gone because it still shows up in gnome partitioner.
i know this is a really old thread but i really need my computer back and if anyone can help me i would really appreciate it. I feel like i've tried everything
Hello all, I could use your help. I have a Windows XP laptop that won't boot. The msg is "Operating system not found". I tried the XP disc but at the repair option I get a "C" prompt. I enter "FIXMBR" but nothing happens. It just goes to the next line and another C prompt. I used Partition Table Doctor and it seemed to rebuild the partition table, but it said it could not write to the HD because the MBR was missing or corrupt. I tried beginning the XP install process but even though it saw the HD it could not access it. That's what brought me to Ubuntu. By the way, I don't have a floppy drive so I can't use a Win98 boot disk to fix the MBR.
I tried the fix listed here but got errors. First, I have v8.04 so I could not download ms-sys. I can go to "Computer" and see the HD, but cannot mount the image. At the error msg I do not get a "Details" option. I opened a terminal window and typed "fdisk -l" but it returned nothing. Same thing using sudo before the command. I tried to force mount it and that failed too. I got to the root ("sudo /bin/bash") and continued trying different commands but my lack of linux language is hampering me.
I downloaded ms-sys from sourceforge but I am not that familiar with Linux commands. I extracted it to flash drive but that's as far as I've got. I don't know which folder (bin? root?) to place it so I can access it thru Terminal. Every fix I've read online so far hasn't worked for me.
Help me Obi-Wan Kenobi, you're my only hope.
Thanks.
Kooljay2, in order to help troubleshoot your problem, how about downloading the Boot Info Script to your Live CD desktop:
https://sourceforge.net/projects/bootinfoscript/
Then open a terminal and do:
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of the RESULTS.txt file to your next post, highlight the copied text, and click the pound/hash sign "#" graphic button in the Ubuntu forum message box so that the text will get "code" tags put around it. The results of that script will help clarify your setup and hopefully what might be going on with your HDD.Code:sudo bash ~/Desktop/boot_info_script*.sh
Thanks. Here's the info:
Code:============================= Boot Info Summary: ==============================
=> No known boot loader is installed in the MBR of /dev/hda
=> No boot loader is installed in the MBR of /dev/hdc
hda1: _________________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
hda2: _________________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
hda3: _________________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
hda4: _________________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
=========================== Drive/Partition Info: =============================
Drive: hda ___________________ _____________________________________________________
Partition Boot Start End Size Id System
Invalid MBR Signature found
/dev/hda1 ? 0 -1 Unknown
/dev/hda2 ? 0 -1 Unknown
/dev/hda3 ? 0 -1 Unknown
/dev/hda4 ? 0 -1 Unknown
Drive: hdc ___________________ _____________________________________________________
Note: sector size is 2048 (not 512)
Disk /dev/hdc: 728 MB, 728221696 bytes
255 heads, 63 sectors/track, 22 cylinders, total 355577 sectors
Units = sectors of 1 * 2048 = 2048 bytes
Partition Boot Start End Size Id System
Invalid MBR Signature found
blkid -c /dev/null: ____________________________________________________________
/dev/loop0: TYPE="squashfs"
=============================== "mount" output: ===============================
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /lib/modules/2.6.24-19-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/modules/2.6.24-19-generic/volatile type tmpfs (rw,mode=0755)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown MBR on /dev/hda
Unknown BootLoader on hda1
Unknown BootLoader on hda2
Unknown BootLoader on hda3
Unknown BootLoader on hda4
=============================== StdErr Messages: ===============================
hexdump: /dev/hda1: No such file or directory
hexdump: /dev/hda1: No such file or directory
hexdump: /dev/hda2: No such file or directory
hexdump: /dev/hda2: No such file or directory
hexdump: /dev/hda3: No such file or directory
hexdump: /dev/hda3: No such file or directory
hexdump: /dev/hda4: No such file or directory
hexdump: /dev/hda4: No such file or directory
It looks like you might have some sort of hardware problem with your HDD, kooljay2, because as you mentioned in your first post and as the Boot Info Script confirmed, it doesn't look like Ubuntu can detect/read your HDD. How about posting the output of:
And how big (GB) is the HDD in question?Code:sudo lshw -C disk
It's a 20G hd.
Code:ubuntu@ubuntu:~$ sudo lshw -C disk
*-disk
description: ATA Disk
product: IC25N020ATCS04-0
vendor: Hitachi
physical id: 0
bus info: ide@0.0
logical name: /dev/hda
version: CA2OA71A
serial: CSH206D9D1LP5F
size: 18GiB (20GB)
capacity: 18GiB (20GB)
capabilities: ata dma lba iordy smart security pm apm
configuration: apm=off mode=udma5 smart=on
*-cdrom
description: DVD reader
product: TOSHIBA DVD-ROM SD-R2312
vendor: Toshiba
physical id: 0
bus info: ide@1.0
logical name: /dev/hdc
logical name: /cdrom
version: 1905
serial: 234K603214
capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd
configuration: mount.fstype=iso9660 mount.options=ro,noatime,relatime state=mounted status=ready
*-medium
physical id: 0
logical name: /dev/hdc
logical name: /cdrom
configuration: mount.fstype=iso9660 mount.options=ro,noatime,relatime state=mounted
I can only guess what's going on with your HDD at this point, Kooljay2, because Ubuntu is able to recognize that it is present (the lshw output you posted), yet fdisk can't seem to read from it. From your first post, it sounds like that's basically what happened when you tried to install XP to that HDD, because you said XP saw the HDD but could not access it. If it is only a 20 GB HDD, I'm guessing it must be a bit old, so it may be that it is simply time to replace it. If you want you could try running a SMART HDD test on it first (assuming it has that technology) to check its self-reported health. To see if you can run a SMART test on the HDD, how about trying the following:
First do the following to save the current health status parameters of your HDD to a file on your desktop:Code:sudo apt-get install smartmontools
Then run:Code:sudo smartctl -a /dev/hda > ~/Desktop/hda_health_before_test.txt
That command will immediately terminate while the HDD begins its self-test, and it could take quite a while. You can monitor the progress with:Code:sudo smartctl -t long /dev/hda
Once the above command says the test is done, then do:Code:sudo smartctl -a /dev/hda | grep -A1 -i "self-test execution status"
And please post the contents of the two files on your desktop so I can see the results (assuming the SMART test was even able to run).Code:sudo smartctl -a /dev/hda > ~/Desktop/hda_health_after_test.txt
sudo smartctl -H /dev/hda
I don't mind if it has to be replaced, but I need to get my data off it. I was hopeful the forc mounting thing would work. At this point any method fo getting the files off the drive would be a welcome solution.
I'll try the SMART test and post later. Thanks for your help so far.
EDIT: The SMART tests would not run
I tried another fix. I found this Wiki thread (I know, I know...)
http://www.wikihow.com/Recover-a-Dead-Hard-Disk. This was the result:
Code:root@ubuntu:~# mount -t ntfs /dev/hda /mnt/disk
Error reading bootsector: Input/output error
Failed to mount '/dev/hda': Input/output error
NTFS is either inconsistent, or you have hardware faults, or you have a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows TWICE. The usage of the /f parameter is very
important! If you have SoftRAID/FakeRAID then first you must activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for the details.