Ubuntu Installation :: Resized And Created Swap On The Wrong Partition?

Mar 19, 2010

my friend was installing ubuntu when he while editing the table from the installation menu, chose to shrink the partition and use it as swap, he didn't realize he was using the actual partition not the 1 to be created as swap.so he ended up with 160 GB swap and 15 GB NTFS partitions.will deleting the partitions and recreating the NTFS partition again restore his data?

View 2 Replies


ADVERTISEMENT

Fedora Installation :: User Created W/Kickstart Password Is Wrong

Aug 13, 2010

I have a kickstart script that attempts to create user "joeblow" with an encrypted password. The user is created okay, but the password does not seem to "take". After installation is complete, and the system is rebooted, this is the relevant portion of /etc/passwd:

Code:

This is the relevant portion of /etc/shadow:

Code:

Where there are two exclamation points, I would expect the encrypted password (as is the case for the root user, which is also created in the kickstart file).

The relevant line in my kickstart file looks like this:

Code:

That password string, which is 34 characters, is the word "password", encrypted with this command:

Code:

Also in my kickstart file is this line:

Code:

After the install is complete, I reboot and attempt to log in as "joeblow", but no dice. If I log in as root, and manually put the above encrypted password into /etc/shadow for jowblow, I can then log in as joeblow.

View 2 Replies View Related

Ubuntu :: Only Filesystem Resized - Ext4 Partition Remained As Before

Jun 30, 2010

I'm resizing an ext4 partition from 100gb to 40gb (I only used 20gb of it or so). Lets say partition is at /dev/sda1. I used
Code:
efsck -f /dev/sda1
to check it

Then I did
Code:
resize2fs -p /dev/sda1 40G
to resize it
When I check fdisk -l, the partition is still 100gb. I have a feeling I resized ONLY the filesystem to 40, but the partition is still 100gb. How do I finish this?

View 9 Replies View Related

Ubuntu :: Install Through The Live CD To A Resized Partition On A External HDD?

Aug 6, 2010

I am trying to install Ubuntu through the live CD to a resized partition on a External HDD.But when I try to boot into it, I get:error: unknown filesystem grub rescue> The boot loader is on the external HDD

View 3 Replies View Related

General :: OpenSUSE Won't Boot After Resized Its Partition

Nov 3, 2009

I installed openSUSE 11.2 RC1 yesterday. (It was a fresh install.)I installed to a 5 GB logical partition at (hd0,10) which is /dev/sda10. (BTW, that's grub2 numbering). There is a 300 MB boot partition at /dev/sda1 or (hd0,1).After I got everything set up in openSUSE exactly the way I wanted it, I realized 5GB is way too small for openSUSE KDE, even though ALL data is on another partition.Next step: booted to a live CD (with grub2) and used gparted to remove /dev/sda11 (another 5GB logical partiition), then resized the openSUSE partition (/dev/sda10) to 10GB in gparted.

View 14 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

Fedora Installation :: Installation - Creating A Swap Partition Or A Boot Partition?

Jul 27, 2009

I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?

Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?

View 4 Replies View Related

General :: Ubuntu 11.04 Installed Alongside Windows 7 Resized Partition / Cannot Access

Apr 29, 2011

I have already done the installation process following the guide on Ubuntu's site, got everything up and running but the partition that I made in the installer was too small. I was then directed by a friend (a slightly less inexperienced newbie) to modify this through Easeus Partition Manager. I shrunk the Windows 7 partition to only the space that was in use, giving the newly unallocated space to the Ubuntu partition. Set the changes and rebooted the computer, then got the message "unknown filesystem, grub rescue". Now have no idea what to do with this. What happened??

I've been scouring the forums for something helpful but I can't find anything that is a comparable circumstance.I can still access Ubuntu through my flashdrive.

View 14 Replies View Related

Ubuntu :: Can't Write To A Partition That Was Created During Installation

Mar 4, 2010

I just finished installing Karmic Koala on my computer a little while ago... and I chose to partition the drive manually. My computer has 2 hard drives:

Here's the HDD which boots first and has Grub and Ubuntu on it:

[URL]

And my second HDD which has Windows and a backup partition called "datas":

[URL]

And here's a copy of my /etc/fstab file:

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[code]....

The ext3 partition on the 250GB drive called "datas" is an old partition that I created while I was still using Intrepid... and it works just fine. However the partition called "archives", which I created during the installation of Karmic, doesn't seem to work properly. For some reason I can't write any files or folders on it. Why is that?

View 3 Replies View Related

Ubuntu Installation :: 10.10 - Created Partition Not Showing Up

Oct 17, 2010

I'm having problems trying to install Ubuntu 10.10 onto a partition that I have created. I boot from disc, select that I want to instal it to a partition and when I get to the list of available partitions, it is not listed.

View 7 Replies View Related

Ubuntu Installation :: Created Ntfs Partition, But Xp Won't Install?

Feb 1, 2011

I used gparted to create 60GB free space which I then formatted as ntfs. However,when I go to install XP I get the blue screen of death.I know the XP installation disc is OK.The ntfs partition (sda3) is after the ext4 partition (sda1) - could this be the source of the problem?

View 9 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

Ubuntu Installation :: Using FAT32 Partition As Swap?

Apr 5, 2010

I'm installing a new SSD this upcoming weekend. My thought was to go easy on it so it lasts longer by putting my swap files on a mechanical drive instead of the SSD. I don't - however - want to waste space for swap files. It would be nice if I could use the same 6GB FAT32 partition for swap files for both Windows 7 and Ubuntu. Is this possible? It might not even be necessary though, I have enough RAM that I rarely use the swap file at all (I've even considered going without swap all together), so it probably won't pose a huge load to the drive.

View 9 Replies View Related

Ubuntu Installation :: Swap Partition Locked?

Aug 3, 2010

I have Ubuntu 10.04 installed. When I run Ubuntu 10.04 LiveCD and I start GParted I see that there is a "key" on my swap partition marking it as locked I guess. When I right click, I cannot select "Delete" option. What does this mean? What if I want to rearange my partitions sizes including swap partition for whatever reason?

View 1 Replies View Related

Ubuntu Installation :: Add Swap Partition Without Reinstallation

Apr 9, 2011

I'm using ubuntu 10.04 and it seems that I forgot to set up a swap partition when I installed my system. So, I can't install hibernate, and I don't think I have any virtual memory any more.

I know that I can always set up a swap file to play the same role, but since swap file is not contiguously stored on hard disk, the performance is expected to be worse than a swap partition.

So, how can I add a swap partition and make my system boot with it every time from now on? I have unused space on my hard disk, and re-installation is NOT an option.

View 3 Replies View Related

Ubuntu Installation :: Does Swap Space Need It's Own Partition?

Aug 9, 2011

I am using a Dell Inspiron 580 that I recently recieved as a gift. I wouldn't normally purchase a Dell, but I have no money and it my old computer was WAY past it's prime. After going through a miniature nightmare I now wonder how to create swap space for my ubuntu installation. I am running 10.04, 64 bit. I am having no problems, but I have no swap space. My computer is a new -Intel i3- with 6GB of ram; so I assumed I could worry about getting it installed, then set a swap file later. As I said, it runs well, but i don't feel comfortable with ZERO swap space.

When I installed Ubuntu I already had a problem because Dell had included 2 special partitions that are diagnostic and recovery. This didn't surprise me, but I want to make my system backup less than 100GB, so I shrank the "c:" partition to 100Gb and made the free space "storage":NTFS partition. After backing everything up (before messing with the partitions), I installed Ubuntu. Since I had created the backup that Dell asked me to (the very first time I turned the PC on) as well as my own system image I wasn't concerned.

Using GParted Boot disk I deleted the Dell "Recovery" partition and marked the "C:" drive (COS)) as active. I used a Windows 7 install disk to "repair" the bootmgr problem. Had to run "repair" twice, but it worked.

My question now is: why didn't Ubuntu installation say anything about a swap partition until I had already set up my partitions? I could easily give up a gig or two for swap space but I cannot make a swap partition unless I delete the Dell diagnostic partition (NOT the "recovery" partition; the other hidden one). I don't mind deleting the "recovery" partition because it is backed up, but I would prefer not to delete the "diagnostic/utility" partition, just in case. The 40MB is crap anyway.

It hadn't occurred to me that I would have trouble making swap space. I am used to windows (I am dual booting with GRUB BTW, if that matters) and the swap FILE doesn't need it's own partition. I understand why a separate partition would be better, but unless I can somehow create a logical/extended partition for swap, I need to know what else I can do.

I believe Ubuntu is a better system for many reasons, but little things like this do puzzle me. I am no engineer, or software designer, but I don't understand why I wasn't given an option, such as: You cannot make another primary partition; would you like to use a virtual disk/file as your swap space?"

View 2 Replies View Related

Ubuntu Security :: Way To Encrypt Your Swap Partition After Installation?

Mar 14, 2010

Is there a way to encrypt your swap partition after installation?

View 3 Replies View Related

Ubuntu Installation :: Swap Partition Would Be Deleted Safely With 4M Ram?

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

General :: Creation Of Swap Partition During Ubuntu 9.10 Installation

Mar 26, 2010

When I do a "clean" install of Ubuntu 9.10, Step 5 of 7 is when you choose how to partition your hard drive. My Acer Aspire Desktop has 8GB of RAM and a single 160GB SATA hard drive. If I choose to let Ubuntu do the partitioning, only three partitions are created and one of them IS a Swap partition. However, if I choose the second option to manually create my own partition tables, there is NO Swap option listed in the drop-down list of partitions to create!! Why in the world not, considering the importance of this partition and the fact that the first option DOES automatically create it? A second related (I think) is about the Live System Rescue CD and GParted 4.9. When do you use either of these utilities? After all, GParted is included System Rescue CD.

So, if I want and choose to do a manual/advanced partitioning of my hdd, the only time I can see using either utility is after the complete installation of the Ubuntu distro. Yet, choosing to manually partition my hard drive always results in an error or warning message that I haven't created a Swap partition before proceeding to Step 6 of the installation. Well, of course not since the choice isn't even possible. Good grief, what am I supposed to do when I arrive at the step where I am supposed to choose and then create the partitions for my hdd? Choose the first option, which I don't think is wise/good at all, especially with security in mind. Or choose the second option of using a program like GParted at all? It is hard enough for me to choose a partitioning scheme at all, since opinions on how many partitions are needed and what sizes they should be.

View 2 Replies View Related

Ubuntu :: Wrong RAM - Swap Assumptions ?

Jan 9, 2010

I have 1GB ram and 2GB swap space. It seems that linux programs somehow are aware that there are 3GB ram avaialable and pretty fast uses more than 2.5GB. System becomes unresponsive because of excessive swapping. On the other hand if I disable swap, using the same programs (chrome, vlc, openoffice) I get only ~600MB use while watching videos and browsing net.

I know, that linux uses all available ram to enhance performance, but in my case, it really hurts the performance. I also cannot leave the swap off, because I sometimes want to do some 3d editing, and then the memory usage can exeed 1GB.

So basicly my question is, if it is possible to force swap usage only when really needed, and make it so, that swap is not considered free ram and filled up with useless junk. (For example, if swap is enabled VLC player just loads whole movie into swap! - which of course is useless, because movie is located on the same hard drive, but VLC is not the only offender)

View 7 Replies View Related

Ubuntu / Apple :: Manual Installation On Already Created Partition To Create Dual Booting PowerMac?

Jul 15, 2010

I have booted from the .iso cd I made on my Mac last night and was tempted to install it on a 6gb partition that I have on my main HDD but was a bit scared to go past the fourth (or so) step in manual installing where I pick that partition and *do what?* Is it going to install the OS on that partition and leave everything else alone to give me a dual booting PowerMac? It doesn't quite say. I am fearful of screwing up my little ol' machine. Can anyone direct me to something that gives a step by step in manual installation on an already created (HFC+) partition to create a dual booting PowerMac?

View 3 Replies View Related

Fedora Installation :: How To Create Swap Partition?

May 31, 2009

On numerous installs I ignored "swap" message but want to create one this time. And can it be done post installation?

View 5 Replies View Related

Ubuntu Installation :: Swap Partition Won't Mount After Kernel Upgrade?

Dec 1, 2010

I just installed kernel 2.6.37-rc3-natty in an effort to clear up the audio stuttering problems prevalent in Maverick. It worked, but now my swap partition won't mount on startup and because of this the computer won't hibernate. I'm using a Toshiba NB305-400 netbook w/1GB of ram, 250GB HDD and 1.6 GHz processor.Here's what's in my fstab file:Quote:

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation

[code]....

View 5 Replies View Related

Ubuntu Installation :: Assigning Swap Partition To Enable Hibernation?

Dec 22, 2010

i want to create/assign a swap partition so i can hibernate by comp. i've tried the ubuntu guide on creating a swap file but it didnt work, i created a linux-swap partition and used the mkswap command but that didnt work either (maybe it did but i cant hibernate anyway?!) right now my partitions look like this:

/dev/sda1 extended
/dev/sda5 linux-swap
/dev/sda3 ntfs (windows partition)
/dev/sda4 ext4 (ubuntu partition)

View 2 Replies View Related

Debian Installation :: How To Find Out If Swap Partition Is Active

Feb 12, 2015

I recently installed Debian 7.6 64-bit on Dell Vostro 1520 laptop.Using Gparted, create extended partition in the remaining disk space 67.91 GB

Install Debian 7.6 as follows
Code: Select all/dev/sdb5   /        8GB   Ext4   
/dev/sdb6   / home   17GB   Ext4   
/dev/sdb7   swap     5GB

I opened a terminal and ran some commands to show the results below....

Code: Select allroot@DELL-DEBIAN:/home/hugh# cat /proc/swaps
Filename            Type      Size   Used   Priority
/dev/sda7                               partition   4979708   0   -1
root@DELL-DEBIAN:/home/hugh#
Code: Select allroot@DELL-DEBIAN:/home/hugh# cat /etc/fstab
# /etc/fstab: static file system information.

[code]...

I have a couple of questions....

1. Does the data above indicate everything is running as it should?

2. What does this command tell me about swap? "/sbin/swapoff /dev/sda7" I read somewhere it should be run on 64-bit system but not sure what it does.

3. Is the command "cat /proc/swaps" the best way to determine if swap is running ok?

4. Can I share this swap partition with another distro, e.g. Ubuntu or Xubuntu? as I would like to multi-boot for testing purposes.

View 14 Replies View Related

Ubuntu Installation :: Getting A 50GB Root Partition 3 GB Swap And The Rest For Home?

Feb 25, 2010

I want to install from scratch or change a current system, which ever works best to have the following partitions: I have a 160GB HD and want a 50GB root partition 3 GB swap and the rest for home. When i go throught the guided partitioning process the largest i can get is 8GB. The root partition is the bootable partition correct?

View 2 Replies View Related

Debian Installation :: SSD - Garbage Collector And Swap Partition / File

Feb 27, 2015

After some years using OS X, I'm returning on Debian on my Macbook Pro in single boot.

I've bought a Samsung SSD (850 EVO 500Go) in order to replace the slow built-in HDD.

But I've earned about the need of repartition of writing operation on that kind of drives, and I'm concerned about swap partition.

I need swap (especially for Darktable, browsers and maybe Steam games), but I wonder if the usual swap partition (even with discard mount option) is really recommandable for SSD drives.

Actually, on Debian wiki and others, the usual recommandation is "if you have enough RAM, don't use swap or minimise swapiness to 1", but using of swap file is not mentioned.

Indeed, if I have only one "big" partition on the SSD drive and TRIM activated, the garbage collector (low level) built in chipet's SSD will optimize SSD life, but I don't know how the low level garbage collection works with multiple partition.

So there is my questions :

- Will SSD garbage collection will preserve the disc use even if I have a 2GB swap partition ?
- Will I'd use a swap file instead of swap partition (I don't really need to hibernate) ?

View 14 Replies View Related

General :: Partition And Installation On Wrong Hard Disk

Mar 10, 2011

Newbie to Linux Ubuntu 10.10. Got the installation done on the wrong disk, How can I move the partition or uninstall?

View 1 Replies View Related

Installation :: Dual Booting Arch And Vista With Recovery Partition And Swap

Feb 13, 2010

The problem is, on a machine, you can only have 4 primary partitions. sda1 and sda2 are my Vista and Recovery partitions respectively, which eliminates two of my primary partitions already. I myself have never used logical partitions, and was wondering if any of the partitions the Beginner's Guide recommends (/, swap, /var, and /home) could be made logical, and if I even need a swap partition.

View 5 Replies View Related

SUSE :: Partition Space Alloted For Swap / Root / Home In 11.2 Installation

Jan 12, 2010

1. Pentium 4 with 1.8 gh 2. 512 ram 3. 15 gb hard disk. installation specially regarding partition option (eg.. how much alloted should be for swap/ root/home etc)

View 1 Replies View Related







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