General :: How To Reinstall Deleted Swap Partition
Jul 4, 2010
I had to delete my swap partition in order to reinstall win XP, but now I need to reinstall it. I run Ubuntu 10.04 and read that there is a command $ sudo mkswap /dev/sda1. I have about 19 GB of free unpartitioned space left on the hardrive that I want to make into a swap partition. I'm not sure whether I should use sda1 or if the book uses it as an example and if I use it it could wipe away my existing partition with ubuntu installed on it.
View 31 Replies
ADVERTISEMENT
Apr 23, 2011
RAM of the machine is 4M. I never see the swap partition has been used via system monitor. So can I safely delete the swap partition?
View 7 Replies
View Related
Jan 16, 2011
My gateway netbook was dual booted with windows 7 and ubuntu netwbook.,I was attempting free up some space on my netbook and decided that the ubuntu partition was expendable.I deleted it and sufficient to say I now can't boot boot up, I just get an error message, can't remember exactly what it is.I am getting a new computer and would kind of like to be able to recover the files on the computer.I have a USB netbook boot drive and am wondering how I would be able to install ubuntu without loosing the files.I have the usb key plugged in am now at the partition stage of the installation.
View 9 Replies
View Related
Jun 9, 2010
How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?
View 3 Replies
View Related
Nov 20, 2010
I have a dual boot system - vista & fedora.I was cleaning my hard disk drive, using a partition manager for windows.I moved the swap partition without much thinking about the consequences - and now I can't boot into fedora. It gives the following error mount: error mounting /dev/root on /sysroot as ext3 No such file or directory.
View 6 Replies
View Related
Mar 16, 2011
I am using Ubuntu 10.4 and by mistake I deleted time and date. How do I reinstall?
View 2 Replies
View Related
Aug 4, 2011
I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?
View 4 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Aug 1, 2010
I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
View 2 Replies
View Related
Aug 23, 2010
I was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over?
View 5 Replies
View Related
Feb 6, 2009
I've forgot to add/make clear, as I have said this is a single OS system, if there is a less complicated fix that will leave me without grub (but with a bootable system) that would be fine. Something like
Code:
fdisk /MBR
but I understand that command is only for DOS, correct?
I've managed to delete/screw up my installation of GRUB. My hardware RAID controller had gone on the fritz and I was getting an operating system not found message during boot. Turns out I needed to reload the firmware for the card. I now believe the card is working fine however in trying to troubleshoot the problem (which I initially thought might have been related to GRUB) I have managed to hose GRUB, and I now see
Code:
Loading GRUB..
Error 15 at startup. I am running Ubuntu 8.0.4 LTS. I have been using an 8.10 desktop live cd for troubleshooting. Grub-install does not work when using the live cd. I have tried to follow directions given on this page: [URL]. However if I chroot to where my OS partition is mounted on the live cd:
Code:
chroot /media/disk
it does not recognize the grub command.
If I simply try:
Code:
sudo grub
find /boot/grub/stage1
it does not find them. If I try:
Code:
sudo grub
root (hd0,0)
setup (hd0)
it checks for stage1 and does not find it. (This may be related to the fact that I am not chroot'ed to the correct OS partition when trying to run these commands, since, as I have mentioned before, I can't get the grub command to run after I chroot to my OS partition.)
When I initially started fooling around with grub I did not even have a boot partition, so I am not even sure that I had GRUB installed in the first place (this was simply a clean install of 8.0.4, not a dual boot system) but since then I must have screwed up the MBR by trying to reinstall/fix what I thought was a broken GRUB. I could not find the GRUB files on my computer, so I have downloaded GNU Grub 0.97 and unzipped it, and moved the entire contents into a /boot folder which I created, so I now have the proper /boot/grub/stage1 directory. (However I never ran any installation after downloading grub, I simply moved the files, perhaps this is the issue).
View 14 Replies
View Related
Nov 13, 2010
I tried this once but my post disappeared. A thousand pardons if this is a dupe.Through the magic of typos, I managed to delete my ssh binary file. I can receive SSH connections but am unable to SSH into another computer.I located the RPM that looks to be what I'd want -- openssh-4.3p2-41.el5_5.1.i386.rpm -- but it refuses to install. RPM gives me the following conflicting messages:
[root@lightning packages]# rpm -i openssh-4.3p2-41.el5_5.1.i386.rpm
package openssh-4.3p2-41.el5_5.1.i386 is already installed
and
[code]....
View 3 Replies
View Related
Jun 22, 2011
Sometimes they say "The only way to fix that car is to remove the radiator cap and drive a new car under it." Well I once had a home made machine running Red Hat 8 which died. I took the hard drive and the video card and plugged them into a new machine which had the same processor family to the dead one but that was it. Anaconda detected all of the hardware which had disappeared and uninstalled it. Then it installed all of the new hardware and after a reboot the machine was good to go. I sort of saved the radiator cap and put a new PC under it. Now I am about to do the opposite. My Dell Studio XPS with its nVidia GeForce 220 has never worked reliably with Ubuntu. I have several threads re. suspend/resume Not! So I ordered a cheap ATI Radeon card from Wally World [URL] and it is due in tomorrow. It might not fix the issue but it can't make it worse. So my plan is to:
- backup data (in addition to nightly backup job)
- snapshot sda (/) partition with g4l
- snapshot sdb (/home) partition with g4l
- deactivate nvidia-current driver
- power down, swap cards and power up
- look for smoke
I see a bunch of ATI and/or Radeon related packages in Synaptic - many of them already installed(?) so I am guessing that the video card should function to some degree without adding any proprietary drivers.
View 3 Replies
View Related
Jul 16, 2009
I was slimming down my Fedora Install for security reasons and i accidently deleted Gnome. How do I reinstall Gnome?
View 6 Replies
View Related
Jul 13, 2010
I deleted Ubuntu off of my laptop, because I was having some issues with it (I had lost some of my icons in Software Center, couldn't access my Yahoo Mail etc..). I deleted it using this method. I then went into my Windows Vista OS, and accessed Disk management via Control Panel.The partition Linux was previously on was Unallocated, and I had a D partition which was Windows recovery. I then shrunk my C (main Windows) partition down. I deleted the D partition.So now I have the C partition, and a large unallocated partition. I was planning on installing Ubuntu from CD onto this unallocated partition. I am using the same CD I had previously used to install Ubuntu. My roommate was also using the same CD today to install Ubuntu on his computer. I know the CD works.
So when I inserted the Ubuntu CD it loaded the first couple of screens. It got to the purple screen where the install text would normally have appeared and then continues to load.... but the "do you want to install? etc..." text did not come up. It then loaded to a black screen, loaded back to the purple screen, reads the disc, keeps loading... and loading... and nothing ever comes of it.I tried again, this time when the first purple screen comes up, I hit enter. I get the language select. I then get the options. I click install Ubuntu. it then starts loading... and loading... black screen, purple screen, black screen with text... but nothing comes of it.My windows is working fine. I don't know why it won't install
View 5 Replies
View Related
Aug 31, 2009
I was having a problem where I had run keytool to generate a key but had entered some bad info. I tried to run it again but it said there was already a key, so I deleted keystore thinking it would regenerate itself. I ran the keytool command again but it says it can't derive the signature algorithm.
Anyway, I've tried to 'sudo apt-get remove sun-java6-jdk' then 'sudo apt-get install sun-java6-jdk' but it doesn't seem to put me back where I was from step 1. 'sudo dpkg-reconfigure' also doesn't seem to fix it. I think if I can completely reinstall jdk then I'll be good, but how?
I just uninstalled, did 'sudo apt-get clean sun-java6-jdk' then installed again. Still get the error:
keytool error: java.lang.Excpetion: Cannot derive signature algorithm
View 3 Replies
View Related
Mar 20, 2010
My drive is a 160GB and currently having 2 partitions:swap (taking about 2 GB)
linux (taking about 155GB)
Here's the fdisk -l
Quote:
I'd like to do the following:Increase the swap partition to 5GB Reduce the Linux system partition by 25GB and give this 25GB to a new partition, which I'd like to use for my Data - this should be accessible by both Linux & Windows
View 9 Replies
View Related
Jan 11, 2011
I'm installing the ubuntu on my new computer with 1 TB hard drive (and core i7 870 with 4G RAM), for the purpose of scientific computing. I have two questions:
1. Since I am not absolutely certain that the simulation won't use larger swap space than usual (say 3x4G = 12G), I intend to set it initially as 12G keeping in mind that I might have to extend it later. So one might suggest putting it on lvm partition. But then I read that I can maximize the speed if I put the swap at the outer track. If I mix it with the other logical volumes in the same volume group, then I don't know where my swap space is across my hard drive, isn't it? So this might suggest I make it as a primary partition. I'm stuck..
2. My current planned partition map is
/ 1G
/tmp 10G
/usr 20G
/var 5G
/home the rest
taking into account I will install MATLAB and maybe other visualization software. What do you think of this scheme?
View 8 Replies
View Related
Aug 19, 2010
as per the output, there is no swap partition in my system..i am lack of analysing the output above. please describe me about buffers,cached fields and "-/+buffers/cache" row.and do i need to create swap partition or not?if yes, how?
View 6 Replies
View Related
Aug 4, 2010
during my fedora 12 installation, i made a swap partition by the wrong denotion "/swap".so when i had used the command "df -h",it showed the /swap entry in the list.so i deleted that particular partition using the "parted" utility. Now my doubt is, 1.where is that partition?(whether it has joined with other partition or still alive) 2.if it alives,is it possible to make it as a swap partition?
View 3 Replies
View Related
Dec 1, 2010
My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?
View 1 Replies
View Related
Jun 8, 2011
The following is what parted print outputs:
(parted) print
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
[Code].....
I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?
View 2 Replies
View Related
Aug 15, 2010
all when installing my linux i dind't create a swap partition.now i'd like to use one.so i've create a swap partition.So how to mount it and let the system use it.
View 2 Replies
View Related
May 18, 2011
I installed Ubuntu 10.10 on my PC. During the installation process i selected a partion on my hdd for swap , there i had some important files can i rocover it some how
View 1 Replies
View Related
Jun 21, 2010
ecently I tried to increase the size of my swap partition using GParted, but it wouldn't let me. I wondering if there was another way? Currently it's 795 MB but I want it to be 1GB
View 3 Replies
View Related
Jan 21, 2011
how to make swap partition in rhce5. mention command step by step and how to change ext3 format to ext2.
View 1 Replies
View Related
Jun 5, 2010
Someone (not me) recently installed some new distros on my HD. It seems that during the installation my swap partition was reformatted and a new UUID was assigned to it. I have the following questions:
1. I know that I have to change the swap partition UUID in /etc/fstab and /boot/grub/menu.lst of the affected distros. Is there anything else that needs to be changed?
2. I presume a similar change has to be made to the Grub 2 configuration, for those distros that use Grub 2. I have no experience using Grub 2 so how do I make the change or where can I find instructions to do it?
View 13 Replies
View Related
May 3, 2010
I was installing windows vista on my computer, so I backed up everything to a external drive which was formatted with ext2. I then proceeded to install windows vista. When I got to the partition section I tried installing windows vista to my raid 0. When it didn't work I decided that I would delete all my existing partitions and create a new one. Well in my haste I accidentally deleted my ext2 partition from my backup drive that was still connected. As soon as I realized what I had done I shutdown the windows install and disconnected my external drive. This is the current state of my drive from parted:
Model: WD 15EADS External (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
I know that the drive only had one partition before and that it took up the entire disk and it was ext2 (maybe ext3).
View 3 Replies
View Related
Feb 5, 2011
I've had problems with my Ubuntu partition on my computer, so I have decided that I might have to format the partition or reinstall Ubuntu.
My problem is that I have files on my partition that I would like to save. I've tried every tool I've found that allows Ext2 to be read in Windows, but none of them work for me. The best I have gotten is that I would be able to see the folders in /, but that is it. I was wondering if it was possible to reinstall Ubuntu without having to erase the partition.
View 1 Replies
View Related
Sep 8, 2011
As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?
View 1 Replies
View Related