Software :: Overwrote First Bytes Of Windows Partition?

Dec 5, 2010

This question is only partially linux-related, but I accidently typed cp file /dev/sda2 instead of cp file /mnt/sda2. The first 300 bytes or so of the ntfs partition were overwritten and now it can't mount and can't boot. I figured I would try copying the first 4096 bytes from another ntfs partition and see if that gave it enough to at least boot. It didn't and I'm wondering if there's any way to fix this sort of thing easily (without downloading an entire Windows 7 DVD) and what exactly I overwrote that was so important.

View 5 Replies


ADVERTISEMENT

General :: Install OpenBSD 4.6 On My PC And Accidentally Overwrote My Boot Partition ?

Jan 15, 2010

I was gonna install OpenBSD 4.6 on my PC and I accidentally overwrote my boot partition.

Initially my partition table looked something like this:

Quote:

This doesn't look like a partition table

Probably you selected the wrong device.

Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

That's what my partition table looks like according to fdisk. So I'm wondering how I'd go about recovering /dev/sda3 (what /dev/sda3 was before I blew it up).

View 4 Replies View Related

Ubuntu :: Accidentily Overwrote Windows And Other Things?

Feb 19, 2010

I just did something that is moderately serious in my book.while trying to put a iso/img to a USB drive using "dd" command (actual command: "dd if/=/home/<username>/Desktop/<image file name> of/=/dev/sda1"), I accidentally wrote to /dev/sda1 (which is my windowspartition on this dual booted computer). When i try to boot into windows, it gives a error that it cannot find the parition. the iso was about 400meg, it was a install iso for another form of linux (arch linux).Is there anyway that I can get my windows partition to work again, or am i just going to have to say goodbye to all my music, pictures, etc. And I think some of my teachers require me to use windows based software... So I would like to eventually get back into windows though.I am running Ubuntu 9.10, I am on a laptop (HP HDX 16t)I am going to get ubuntu back onto my netbook (i destroyed that earlier tonight by deleting a partition that had the bootloader on it... i am just wiping that though)

View 9 Replies View Related

Ubuntu :: Swap Partition Is Always At 0 Bytes

Jan 8, 2011

How do fix my Swap Partition? Last night I added unused space to the main Ubuntu partition. Now I noticed the Swap Partition is always at 0 bytes. I'm using a Sony Laptop, and have enclosed two screenshots. One of the Disk Utility and a system monitor.

View 9 Replies View Related

Ubuntu :: Error: Allowed Memory Size Of 20971520 Bytes Exhausted (tried To Allocate 7680 Bytes) In /var/www/index.php On Line 2

Jan 9, 2011

I recently had to move to a new machine, everything went well except for one thing. I did fresh installation of LAMP server all with default configs. Every time I'm using PHP script to that invokes include, require or require_once I get the following error:

Code: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7680 bytes) in /var/www/index.php on line 2 index.php file: PHP Code:
<?php    include "index.php";?>
icukapi.php file:
PHP Code:
<?php    echo "test";?>

My memory_limit in php.ini is set to 20M. I tried to increase that however it didn't quite work. PHP seems to allocate all possible space and return that message every time i try. If somebody has an idea of how to fix it I would be more than grateful. I spend quite a long time searching for an answer however the all things i found suggested increating memory_limit which in this case doesn't work.

View 1 Replies View Related

General :: Search Partition For Specific Sequence Of Bytes

Aug 17, 2010

I lost an important file. I know what bytes the file begins with. How can I search the partition for the sequence of bytes?

View 4 Replies View Related

Ubuntu :: Root Partition 0 Bytes Remaining After Enlarging

Sep 2, 2010

I recently cleared out some old partitions, and "/" was getting full so I made it bigger. It went from about 2Gb to 7Gb.

Now when I boot into my OS I get a dialogue saying:

Code:
The volume "Filesystem root" has only 0 bytes disk space remaining

You can free up disk space by removing unused programs or files, or by moving files to another disk or partition I don't see how this is possible. If anything it should have more free space than it had before. how I might go about diagnosing this issue?

View 9 Replies View Related

General :: Calculate Usable Bytes On A Disk Partition?

Mar 10, 2010

How do you calculate the number of usable bytes on a disk partition? When I do an fdisk -l I get this:

Disk /dev/md0: 192.0 GB, 192069500928 bytes
2 heads, 4 sectors/track, 46891968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

[code]...

View 7 Replies View Related

Ubuntu Installation :: USB Key Overwrote Main HD MBR

Jan 22, 2011

I wanted to install Ubuntu 10.10 onto a 16Gig USB key and did so by booting with a Live CD and doing the install to /dev/sdc1 (which is the USB key). It installed fine to the USB but it also installed grub MBR to /dev/sda1 (doh!) .. so now I can't boot into my main HD unless I have the USB key plugged in and I select the correct kernal on /dev/sdc1 to load from on the grub boot menu. If I try booting without the USB key I get... error: no such device: <long device id number here> grub rescue> _

View 3 Replies View Related

General :: Windows - Deleting Linux Partition And Grub Boot Loader Without Affecting The Windows Partition At All?

Aug 30, 2011

I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.

View 2 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Ubuntu :: Finding Windows Partition - Use FAT32 Partition For Photo Images And Old Windows Files

May 31, 2011

I got tired of dual booting on my old computer so on the new computer I am planning to run XP on VMware Player. The problem is that on the new computer neither Ubuntu or XP can "see" the FAT32 partition. I intend to use the FAT32 partition for photo images and old Windows files and need access from both Ubintu and XP.

Partition table entries are not in disk order.

View 5 Replies View Related

Ubuntu :: Can't Access Or Even Find Files On Windows Partition Or Windows Partition Itself

Sep 24, 2010

After several times install & reinstall,i got a stable dual boot vista / ubuntu 10.10.,but i can't access or even see my windows partition from ubuntu,i installed my dual boot with wubu this time,in previous installation when i didn't use wubi , i didn't have such a problem & windows partition with all my files in it (windows files,media ,etc,) was easily accessible from "places" on ubuntu . I already disabled windows firewall & other security options but nothing changed

View 3 Replies View Related

Ubuntu Installation :: Os_prober Calls The Vista Partition The Windows Recovery Partition

Feb 20, 2011

Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.

At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".

'os-prober' produces--
root@Toshiba:/home/deh# os-prober
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda7:Ubuntu 10.04.2 LTS (10.04):Ubuntu:linux

[code]...

I edited boot/grub/grub.cfg so the boot menu item is labelled correctly, but suspect that it will revert back when there is an upgrade.

View 4 Replies View Related

Ubuntu Installation :: Format Windows Partition To Be The Home Partition And Changed The Nfts To Ext

Sep 1, 2011

i have instaled ubuntu 11.04 wubi on my pc with windows 7. i installed and everything was going ok i navigate on ubuntu already. but the problems star here i went on my ubuntu to the partition section and i format my windows partion to be the home partion and changed the nfts to ext, i did the upgrades but i forgot that theyr running yet and i restart my computer when it boot again it gaves me an error:

try (0,0) : nfts5 : wubildr
try (0,1) : ext2 :

and the windows7 says that i have to instal again. so i went to another pc and i made a cd boot and a pen boot. i burned the iso (downloaded from the ubuntu oficial site the 11.04 32 bit version) image to the cd and pen drive prperly, i adjust my boot options to star from usb or cd rom and nothing im struck.

View 9 Replies View Related

General :: Windows 7 - Create A Symbolic Link From An Ext Partition To A FAT32 Partition

May 15, 2011

On my Linux system, I want to create a symbolic link to a folder on my Windows 7 partition formatted FAT32. I use:

sudo ln -s /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft

However, I end up with a file in my home directory called .minecraft and when I try to access it, I receive:

bash: CD: .minecraft: Too many levels of symbolic links

is there a way to make the symbolic link to the FAT32 folder?

View 2 Replies View Related

Ubuntu :: Cant Install - Partition Manager Wont Allow Me To Shrink The Windows Partition To Fit

Sep 4, 2010

Trying to install Ubuntu (any atm) on my father's HP destop. When i install, the partition manager wont allow me to shrink the windows partition to fit ubuntu in, and when i go to gparted to do it manually, it says that there are damaged sectors. is there a way to force ubuntu to install?

View 2 Replies View Related

Ubuntu Installation :: Create A New Partition In Front Of A Windows Partition Without Trouble?

Oct 25, 2010

This is my partition table:

/dev/sda1 1 4255 34178256 83 Linux
/dev/sda2 4256 4437 1461915 5 Extended
/dev/sda3 * 4438 9964 44395627+ 7 HPFS/NTFS

[code]....

View 4 Replies View Related

Ubuntu Installation :: Remove Partition And Go Back To Just Full Windows Xp Partition

Jun 4, 2011

I have an Acer Aspire Netbook running a dual boot with Xp and Ubuntu Netbook Version (Lucid Lynx if I am not mistaken?) Anyway I plan on selling this netbook and I need to remove the Ubuntu Partition and go back to just a full Windows Xp partition with it's recovery partition also.

View 2 Replies View Related

Ubuntu Installation :: 10.04 Wubi - Windows 7 Partition Along With The Lenovo Recovery Partition

Aug 1, 2011

I tried installing Ubuntu 10.04 LTS on my girlfriend's lenovo using a live disc. First we tried it out to show her the wireless would work fine (her previous lenovo was not ubuntu friendly at all). She's interested in keeping her windows 7 partition along with the lenovo recovery partition, so I tried doing a dual boot install. I manually moved the cursors setting the disk space on each partition, and we allowed Ubuntu to do the rest. Much to my dismay, the installation failed.

I've done some reading over the internet, and I think in our case it would be best to use a Wubi installation. We're interested in using 10.04, so where can we find a wubi installer of Ubuntu 10.04?

Also, any ideas why the installation might have failed? The iso was downloaded off the ubuntu main site, and we burned it using infrarecorder.

View 3 Replies View Related

Debian Installation :: Wiped Windows Partition With Swap And LVM Partition

Jan 17, 2015

I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:

/dev/sda (Samsung Evo 840)

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm

[code]....

The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:

mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi

After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.

When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal

Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.

I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.

View 5 Replies View Related

Ubuntu :: Partition Not Visible / When In Windows 7 It Only Shows The Window's Partition?

Nov 21, 2010

I'm currently working on fixing another problem url

I have a 60 g internal laptop hard drive, 30g is Windows 7 and 30g is Ubuntu.

When in Ubunutu I can access the window's driver and mount it, however, when I am in windows 7 it only shows the Window's partition.

Is there a simple way I can get the ubunutu partition to show up>

View 2 Replies View Related

Ubuntu :: Make A Partition Of The Free Space Available From Windows Partition

Aug 18, 2011

i am following the installation process and its very unclear whether or not a dual boot will occur and how i can make a partition of the free space available from my windows partition etc....i dont want to go through the process and find myself losing all my data and my windows partition i also cant seem to select a partition less than 86% of the total capacity of hdd so im def sure they're not taking my dual boot desires into consideration.

View 1 Replies View Related

Hardware :: Delete Windows Partition And Reinstall Without Affecting Partition?

Jul 24, 2010

I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.

View 6 Replies View Related

Ubuntu :: Use A Windows-based Recovery Partition On A Dual-boot Computer To Overwrite Partition And Remove GRUB Loader?

Mar 9, 2010

is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?

View 4 Replies View Related

Ubuntu :: Format The Windows Partition / Add That Space To Partition

Aug 7, 2010

I currently run a dual boot with Windows Vista and Ubuntu Lucid. I have been using Ubuntu for quite a while now, but kept around Windows "just in case." I have decided that keeping Windows is unnecessary and my Ubuntu partition is running out of space. I was wondering how I could format the Windows partition and add that space to the Ubuntu partition without having to format my entire computer.

View 2 Replies View Related

Ubuntu :: Partition Removed By Windows Recovery Partition?

Jan 28, 2011

My set up is a dual boot between windows 7 and ubuntu 10.04. This laptop used to have vista on it. See image below for my partition set up. pretty obvious where ubuntu should be.I accidentally selected the wrong entry in grub and booted into an acer windows recovery partition. despite exiting as soon as it loaded, the long story short is that it has goodbyed linux.On booting i now just get a grub rescue prompt.I have eventually managed to boot into a liveUSB (cd drive is botched too )As you can see from the screenpic, testdisk shows linux is still there but there are quite a few entries from the upgrades.So, if i can restore the partition around this linux partition will grub come back with it and will all be merry?

I havent mounted any volumes on the drive yet, but i think i need to back up my data before messing with the partition table. is it cool to mount them to pull some data off?general advice for how to proceed would be great.Im not too hung up on keeping the linux install itself. whats gunna be easier? install into that 16gb space and then re add windows to grub, or try and recover this partition?

View 9 Replies View Related

Installation :: Access The Windows Partition But In Vista Cant See The Partition?

Feb 19, 2010

I installed XandROS on my vista machine. I can access the Windows partition from Linux but in Vista I cant see the Linux partition...is there anything I can do about that?

View 3 Replies View Related

Ubuntu :: Windows Partition Viewing - Windows Explorer Can't Read More Than The First

Mar 6, 2010

ive been dual booting ubuntu and windows for a while now. For the first time in weeks ive booted windows XP, and i really hate the fact that windows explorer can't read more than the first partitions. Is there a way to make the explorer see more? I want to be able to reach my files on the ubuntu partition from windows, not just the other way

View 4 Replies View Related

Ubuntu Installation :: 10.04 In A Second Partition Of The Hard Drive - Windows XP And Windows 7

Oct 24, 2010

I have Ubuntu 10.04 and Windows XP running each one in a partition of two different hard drives. I want to install Windows 7 in a second partition of the hard drive where Ubuntu is running. Windows 7 did not see the hard drive where Ubuntu is running. So I understand that I need to format the partition where Ubuntu is running, install Windows 7 and later on Ubuntu 10.04 which will create the boot for the three systems. But I want to backup Ubuntu's installation, and after installing Windows 7, install the backup. So I will need to add the file for the dual booting. How can I do it? Is it there any piece of software that could create the three booting option that I need?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved