Red Hat / Fedora :: Grub - Recover Without Using A Bootable CD - Fdisk -l Is Not Listing The Partitions
Jan 26, 2010
I am preparing for RHCE. While doing the lab I renamed /etc/grub/grub.conf as grub1.conf. Now (obviously) system boots on grub> prompt. Can I recover without using a bootable CD? Another problem that I encountered was, while doing lab for fdisk, I used command umount -al. Now, fdisk -l is not listing the partitions but giving a message:- /proc/partitions does not exist. If I reboot the system this is restored.
View 1 Replies
ADVERTISEMENT
Jun 2, 2010
I have a Pen drive which has been moving info between PC's and MAC. PC now sees and empty drive, also does the MAC.I've tried Testdisk & Photorec w/o success.Is there any way to recover the data?
Gorkon
p.s. fdisk -l results are:
Disk /dev/sdc: 1010 MB, 1010827264 bytes
[code]...
View 1 Replies
View Related
Mar 19, 2010
How can I list the partitions in a disk image that is stored in a file, using the parted command?
View 6 Replies
View Related
Sep 30, 2010
I have a dell poweredge 2950 server which had red hat on it. I have installed ubuntu on top of it. I have replaced master boot record during the installation of ubuntu as I dont want use red hat anymore. During the installation it asked me for the space I wanted to give for Ubuntu and I provided 10GB. Now I can use only 10GB of my harddrive until I mount other partitions correct?
So when I type sudo fdisk -l I get the below printed:
Code:
Disk /dev/sda: 146.2 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
View 1 Replies
View Related
Jul 17, 2010
After reading Markus Ewald blogpost on http:[url]...n-ssd-on-linux about Aligning an SSD on Linux I decided to give it a try.I have bought two 80 GB Intel X25-M SSD for my home server. The plan is to install Ubuntu 10.04 64-bit server and use the SSDs as system discs and vmware data storage using software raid for redundancy.After reading the blog post I am not sure how to make all my partitions aligned and set up on EBS (Erase Boundary Size)I am planning for four partitions:Boot, size 1GB
Root, size 25GB
Swap, size 4GB
Data storage for vmware server, size 40GB
According to Markus Ewald I should use 32 heads and 32 sectors.Using the live CD, I started using fdisk -S 32 -H 32 /dev/sda.Fdisk can create partitions using cylinders or sectors, and now I ran into trouble.
First partition /boot must start on cylinder 2 (or sector 1024). Size is 1 GB and the following partition should be aligned and start on a new EBS block. How do I do this with fdisk?Should the next partition start on a new cylinder? Otherwise, after formatting, fdisk gives a warning that the partition is not aligned to the cylinder size? The overall question is how to format four aligned partitions which all are aligned with Intels X25-M EBS. EBS for Intel X25-M is either 128KB or 512KB (Have not found a confirmed value yet)
View 1 Replies
View Related
Jan 18, 2011
i have a question regarding how data is placed on a media, for example the daily used hdd: when we talk about storage we often speak in heads sectors and cylinders. my question is if heads, sectors and cylinder is the true way data exists on a hdd platter?
lets take for example, disk_x
1000.2gb = 1000204886016 bytes
255 heads, 63 sectors/track 121601 cylinders.
fdisk -H 128 -S 32 /dev/disk_x each cylinder will be shrank to 2097152bytes, number of cylinders will grow to 476934. but everything will be much more aligned and readable or there is something i don't know and i will loose almost half of the total sector count on the hdd cause 63-32=31. i asked the partitioner just to use 32 sectors from each track and only 128 tracks of the cylinder.
or another example, if i have a cluster size of 4k. why not making each track use 56 sectors or 7 clusters. theoretically i have all files in my storage and each one of them occupies 14 clusters isn't it wiser to make it as described. what happens when i invoke fdisk -h -s params? what will be changed, the disc physically and the way it is accessed or only the partition table? you probably asking your self what the hell does this dude wants? i want to get maximum i/outputs and the widest bandwidth and the nicest readble partition tables and to understand better fdisk -H -S.
View 6 Replies
View Related
Apr 24, 2010
I had a 500gb hard drive that I wanted to use on my Ubuntu system as a media storage drive. The drive originally had two partitions on it,one was a Dell Recovery partition and the other was a Windows Vista partition. Using the Palimpsest Drive Utility that comes with Ubuntu, I deleted both partitions,created a Ext3 partition using 100% of the space and copied my data to the drive. After I finally got fstab to load the drive, I found another problem. First of all, when Grub loads, two options it offers are:
Windows Vista (loader) on sdc1
Windows Vista (loader) on sdc3
Aside from that, 100% of the drive is not being used by the Ext3 partition.It is showing 434.6gb available on the drive. Fdisk is not showing any other partitions on this drive, so A) why are the Windows loader options showing up under Grub and B) why do I not have 500gb available?Here is a copy of the output fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[code]....
View 5 Replies
View Related
May 7, 2010
I have a 120GB HDD with a 22GB partition for Ubuntu and the rest for Windows XP. Windows finally died on me so I attempted a fresh install on its partition. However, the install threw a ton of errors so I used a LiveCD to re-install Grub and I booted into Ubuntu. I open up the disk utility to re-format the Windows partition so I can re-try re-installing Windows, but immediately I notice that the partitions are not right. If you add up all the partitions, they are about, say, 18 million terabytes over my HDD's 120GB capacity. Ahhh! What do I do?
I don't think anything is terribly altered, since I can still boot into Ubuntu, but I am completely confused and slightly worried that I might kill any chances to save my HDD I can't post a screenshot due to my post count, so the image loses some of its efficacy in making it small enough for an attachment. Here is the output of fdisk -l: Code: omitting empty partition (5)
[Code]...
View 5 Replies
View Related
Jul 19, 2010
I would like to remove/create partitions on a harddrive without going into the menu of fdisk.
can one pass options to fdisk to create and delete without going into the menu? So that I can write a script to do that automatically.
Or if fdisk isn't capable, what other alternatives do I have?
View 5 Replies
View Related
Feb 11, 2010
Anyone have a script, or method, that would allow (c)fdisk to divide a hard drive up into equal size primary partitions?
View 1 Replies
View Related
Mar 6, 2011
Have following problem:
Computer has 3 partitions: windows swap, windows recovery, and 3rd, which currently has linux.
There is grub installed, which lets me choose to run windows recovery, or linux. Both boot fine.
But. I'd like to remove Linux, and use recovery to install windows. When I boot to recovery, and make it install windows, it does so, but after rebooting all I get is:
error: no such partition
grub rescue>
ls shows 3 msdos partitions, but I don't know what to do with it further.
When I did boot Linux rescue, and overwrote first 446 bytes of /dev/sda to remove grub - computer doesn't boot at all.
I do not have any bootable windows disks, just the rescue. I do have another computer I can work on, so I can download stuff from internet if it would help me.
View 3 Replies
View Related
Nov 28, 2010
I have a PC with three partitions: C, D, E. The C: and D: partition are NTFS and C: has Windows XP on it. D: holds my data files and folders in the Windows environment. E: has CentOS version 5.x. The machine is dual bootable. When booting up Grub gave me the options to boot to CentOS (by default) or to boot into Win XP (by selecting it).
Recently I used Partition Magic to resize the D: partition. I shrank the D: partition. The freed space space was then used to create a new NTFS partition.
After the partitioning was completed, I rebooted the machine. But now Grub is having a problem. It does not display the list of of bootable OS options any more. Instead there is just a black screen with the prompt:
grub>
What am I supposed to do here?
I am afraid that after I ran Partition Magic somehow Grub is messed up. How do I recover the previous boot options? Or at the minimum, how do I make the the machine to boot into Windows XP?
View 7 Replies
View Related
Aug 2, 2010
The principal at my High School (currently my Bosses boss) brought a flash drive down today with the windows message "The drive is not currently formatted, would you like to format it now?" I grabbed by Debian laptop and went to work. So far, I have had no luck recovering the partition table or partition using testdisk or r-studio. I tried to dd a copy of the drive and examine it. The whole image appears to be goose eggs. I am not sure where to go from here. Naturally she did not back the drive up as my boss told her to and the documents on it are irreplaceable
View 6 Replies
View Related
Aug 9, 2010
I have an old Windows XP Media Centre 2005 computer. My sister is the primary user of the computer and she's always downloading viruses and stuff on it so I decided to clean it up a bit and install Ubuntu via Wubi so we could use something that was harder to screw up, easier to use, and faster. I downloaded the iso of Lucid and ran Wubi.The installation worked fine (with the exception of that annoying "no disk" pyrun.exe error, which I had to keep clicking cancel to get out of). I restarted the computer, selected Ubuntu, and Lucid began to install and showed that very well-presented slideshow of Ubuntu's features. It finished, told me to reboot my computer and all seemed well until it reached the boot menu.
When it comes up to XP's boot selector, it gives me the standard list - pick between XP Media Centre and Ubuntu. I selected Ubuntu. Then, it brings me to the GRUB menu. Except, there's no Ubuntu options, just "Dell Recovery Partition" and "Windows XP." I'm positive that Dell Recovery Partition is the factory restore thing since I've used it before, but selecting Windows XP brings be back to XP's OS chooser. It's just an infinite loop until you choose XP from its own OS list.I'm not sure if this has anything to do with it, but a "skip" button appeared on the installation near the end when it didn't appear to be doing anything, so I clicked it. Would that have affected the install?
I've already googled this problem and I've only come across one thread with this problem, and it was from 2 months ago and didn't seem to have a clear resolution. This problem is pretty depressing considering I've used Wubi on two other computers and never ran into any trouble.Also, I would dual boot but I see no problem with using Wubi since it saves a lot of trouble and there's 95% less chance of breaking something (I've been using it for a month or so on my Dell laptop since my preinstalled Windows Vista KSOD'd and I haven't ran into any complications). Plus, I don't have any blank disks or USBs laying around and I'm not waiting 2 months to get a Ubuntu CD.
View 3 Replies
View Related
Sep 18, 2009
I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
View 2 Replies
View Related
Aug 23, 2010
I have installed ubuntu on my notebook, and there are 4 partitons in the hdd, all are NTFS, only one is ext4.
the problem is i deleted some hidden folders(in ubuntu which are not hidden, such as recyclebin and file information table folders) in ntfs partitions, now i need to reinstall the windows 7 back, i have a doubt that even windows will ever recognize those partitions again?
View 2 Replies
View Related
May 20, 2010
I inadvertently started creating a boot disk over an entire 300GB external hard drive. Needless to say, I had all sorts of data saved on there. I stopped it early on in the process by turning off the drive, but I now I don't know how to salvage what's left.
View 3 Replies
View Related
Nov 16, 2010
I had 10.04 installed in parallel with a bad windows OS. Used the 10.04 to pull the documents, pics, etc off of windows. Worked great. Then when I tried to delete the windows partition it screwed grub up an instead of just re-installing grub. I re-installed ubuntu, what the heck it was gonna get wiped anyway. I didn't back up the pics and documents. I did however have them in all the ubuntu folders for my pics etc.
I feel like total crap, anyway, how good of a chance do I have at getting something back with testdisk? After doing a "deeper search" I come up with multiple partitions but it won't let me restore all of them. I really dont care if I can't boot to a single one, just as long as I can get the data back. (always can use a live CD).
View 1 Replies
View Related
May 11, 2011
I had tried many distros over the years but settled on Ubuntu for the last two or three, unfortunately the new version of Ubuntu (Natty) has prompted me to make the change again. To keep access to all my Ubuntu docs e.t.c. I installed Fedora 14 on a seperate partition and hey presto, there's the Ubuntu partition for me to read from, problem is that my laptop still just boots straight into Fedora, this is ok on my laptop but I wanted to make the switch on my desktop as well which has the wife's Windows partition on it, not being able to boot into that would cause eruptions! The problem is that Fedora hasn't installed a Grub menu.
On advice I typed this:-
[eric@Eric-Fedora ~]$ grub-install -v
and got:-
grub-install (GNU GRUB 0.97)
[eric@Eric-Fedora ~]$
View 4 Replies
View Related
Feb 9, 2010
I know nothing about this at all. I have never programmed a computer.. I loaned my tower to a friend who put this on ...now i have it back and cant get to my windows 98. all i get each time i boot is ...
GRUB loading ... error:no such disk grub recover>
I have tried ubuntu sec 8.4 recover mode and all i get is unreconized command.. i do not know how to set anything.. i have no disks for this not even the orginal windows recover disk.. is their anything i can do to get win to run as it use to??
View 1 Replies
View Related
Aug 24, 2010
I had to dual boot my computer again with windows unfortunately for school. This is something I've dealt with dozens of times in the past but when I try to recover grub 2 with the ubuntu live cd I get this:
sudo grub
sudo: grub: command not found
View 4 Replies
View Related
Feb 21, 2010
I woke up this morning to a non-booting 9.10 computer. After my grub screen disappears, I get the familiar Ubuntu b/w logo in the center of my screen. My hard drive cranks for an abnormally long time and then I get the following error:
I booted into a live CD and opened up GPARTED and my sdb4 (my /home location) partition shows up. I do a check on it and it seems ok.
I opened the Palimpsest Disk Utility to see what it said and it shows sdb4 as Unknown or Unused. I can not mount this drive using GUI methods.
I did some research on the forums looking to recover lost partitions. here is the output from fsck
Code:
and the abbreviated output from fdisk -l
Code:
Disk identifier:
This seems ok too.
My next step was to try testdisk. When I ran it, I was able to navigate this partition and apparently see all my files. I then tried to mount the partition manually.
Code:
That also worked.
It seems to me that I practically have this thing where I need it without too many worries.
My question is: What is the next step to get this back booting again? I'm afraid of rewriting the partitions in testdisk until I get some feedback on whether this will really solve my problem. Maybe the partition isn't the problem? Is it something else and I've been going down the wrong path?
View 4 Replies
View Related
Sep 14, 2009
I have 2 fat32 partitions that I use for things that I share between windows and fedora
I decided to merge them into one partition so I did this with cfdisk by deleting them creating and creating 1 large fat32 partition with the free space. When I boot my machine I am presented with:
grub>
I used the fedora cd to "rescue a broken system" and everything seems fine? I didn't touch any partition besides my extra fat32 partitions and my /boot partition is bootable. How do I tell this minimalistic grub to use my normal grub.conf?
View 2 Replies
View Related
May 26, 2011
how to edit the grub listing that appears during computer boot.
My listing shows 3 OS:-
1. Ubuntu 10.04
2. Ubuntu 9.10
3. Windows XP
I have deleted Windows XP, meaning that my system does not contain Windows XP.
View 9 Replies
View Related
May 23, 2011
I have a dual boot Acer Aspire One, after reinstalling Windows back to "original factory", the way it was straight out of the box, it now will not boot up at all. It goes to the Windows start screen goes blank, and loops there infinitely. Is there a USB tool I can use to figure out what went wrong and recover either my Windows or Linux partition with out having to do a complete reinstall?
View 1 Replies
View Related
Oct 24, 2010
i specifically told ubuntu to install alongside my operation system (windows) and instead it installed over windows and deleted all the other partitions... i had 200gb of data that i completely lost is there anyway to recover this data?
View 4 Replies
View Related
Apr 29, 2009
It seemed that it would be simple enough: take the 'f' option in the expert menu of fdisk to put partitions in order after a gap had been created by a deleted partition and then make corresponding changes in /boot/grub/grub.conf because the root partition was shifted.
Well, it didn't work out that way. No matter what I try, I either see the error 15 at Stage1.5 or the error 28, which is even stranger (file does not fit into memory). All this before I even see a grub menu. It just does not get that far.
Does anyone want to take as stab at guessing what might have happened here and whether I have a chance at recovering without having to reinstall? I can provide concrete data, if anyone would be kind to give it a try. Hoping that this is a known problem and something can be guessed from what I stated here but I can be as specific as needed, just don't want to generate noise if there are no takers.
View 3 Replies
View Related
Aug 5, 2010
a windows installation on a fake-raid, /dev/mapper/ddf1_AR01p1 and an xtra penguinFS on ddf1_AR01p2. I simply tried to boot "Super Grub Virus" from a usb stick ... and the $%!($ER hosed the array. Luckily, my day to day OS and important data is on a different set of disks ... but my BIOS boot target is set to the fake-raid, so it did not kill anything genuinely important ... I just got lucky.
I would really like to restore the windoZe partition as it WAS. I actually use it a couple of times each year. I would just reinstall the OS ... really NOTHING important on those 2 disks, but I have no idea where my XP disk can be found ... but I know the xp installation is hiding in /dev/null ....
View 1 Replies
View Related
Jun 20, 2010
Firefox opens file listing instead of Nautilus opening file listing.When I access a folder via "Places" -> "Home Folder" or "Places" -> "Downloads", Firefox opens and list the contents of the directory.I have re-installed Nautilus, un-installed Firefox and then going to "Places" -> "Home Folder" or "Places" -> "Downloads" launches Nautilus and I can view the contents normally. Anybody else had this problem with Firefox ? Anybody know how to fix this Firefox problem ?Running Ubuntu Desktop 9.10 64bit.
View 2 Replies
View Related
Apr 20, 2011
i have already installed Debian 6.0 i386 & Windows XP in my PC. But due to some Problem i have again reinstalled Windows XP ... So How to Recover the GRUB in my PC which i have already installed Debian 6.0 i386
View 2 Replies
View Related