Showing posts with label partition. Show all posts
Showing posts with label partition. Show all posts

Thursday, 12 February 2015

[ubuntu] Resize ubuntu main partition topic






Hello everyone,
I've already messed up with partitions, so now im afraid of touching anything. I'd like to reduce the size of ubuntu on my hard drive. I thought about using a gparted live version of linux, then resize the mount point (that's how / is called, isnt it?) of the currently installed ubuntu partition. I've read this article about this: https://help.ubuntu.com/community/Ho...izingPartition
It should be data-loss free, and I dont have to resize or move any other partitions (swap and co), right?
Thanks for helping me out :)






Wednesday, 11 February 2015

Windows 8 partition gone after Ubuntu 14.04 install please help topic






Hi,
I know there is a lot of similar posts, but none of the solutions there helped me. I had Windows 8 running on a partition of my ssd and there was another empty partition. I wanted to install Ubuntu to that partition. During the installation it said that it hadn't found any OS on the hard drive so I thought "great it is already on the right partition, without me having to choose it." I guess I was wrong. Because after the first reboot I got into Ubuntu directly. No boot loader appeared.

After some research I commented out this line in the etc/default/grub file:


Code:


#GRUB_HIDDEN_TIMEOUT=0

at the next reboot grub 2 appeared, but had no Windows option. Also the dell boot options had no Windows option.

I ran boot repair and clicked on the "recommended repairs" button. After that a Windows Option is available in the dell boot options, but it leads me straight back to the grub menu, where I still don't have a Windows option.
Here is the result link, that boot repair gave me: http://paste.ubuntu.com/10156983/

I also ran ubuntu on a bootable flash drive and did the "recommended repairs" in boot repair there. It didn't change a thing.
Here is the result link from that: http://paste.ubuntu.com/10171829
I then clicked on "advanced options" and wanted to change the default OS to load from there, but it only showed the option Ubuntu.

I also tried what is suggested here: http://askubuntu.com/questions/21091...dual-boot?lq=1
with the exact entry suggested:

Quote:





Second, you may be able to get GRUB to chainload Windows by adding a suitable entry to /etc/grub.d/40_custom and then doing a sudo update-grub. An entry might look something like this:

menuentry "Windows 8" {
set root='(hd0,gpt1)'
chainloader /EFI/microsoft/BOOT/bootmgfw.efi
}




and I tried this from that same thread:

Quote:





Try making a file called /etc/grub.d/30_windows that contains this:

#! /bin/bash
cat << EOF
menuentry "Windows 8" {
insmod part_gpt
insmod chain
set root='(hd0,gpt1)'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
EOF
Then run sudo update-grub and reboot.




I then had a Windows option in grub but it leads me back to the grub menu.

I tried installing grub to the right place but got this error:

Code:


sudo grub-install --boot-directory=/mnt/ /dev/sda
Installing for x86_64-efi platform.
grub-install: Fehler: cannot find EFI directory.




Now I'm no expert and I really hope that someone who knows how to interpret the boot repair details can tell me what the actual problem with my laptop is and can help me solve this. I still have some data on the Windows partition, that I didn't backup. All suggestions are welcome! But please give me step by step solutions, that I can understand. ;)
Thanks a lot!!






[ubuntu] Wiping Windows Recovery Environment from Partition, OK? :-/ topic






Can't figure out if it would be ok to delete this:
WP_20150211_13_55_37_Pro.jpg

The only reason I'm in doubt is because it says "(boot)", so I'm not sure if it'd be OK to remove it. I don't see why not but I don't want to mess up my craptop any more than it already has been.











Attached Images












How change a file on a read only partition? topic






I have a file where is defined the 'menu boot' for example:


Quote:





label live
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz
append file=/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --




But it is into a read only partition, i can't mount (remount) it with read/write privileges

How can i edit that?
I need to change only this file. I have more partition. It is into /dev/sdb1






Tuesday, 10 February 2015

[other] Hard Drive with no partition table topic






Hi everyone! I have an issue and i'm only posting because i couldn't find the answer on previous topics. So let's go:

I had an issue with a hard drive of an old PC from my aunt. Someone was carrying the notebook and (i don't know how) the disk suddenly stop working properly. She uses Windows. Well, the thing is: i removed the HDD from the notebook and plugged-in with an tool as an external USB hard drive (as i do with other HDDs). The problem starts when the system does not recognize the partition. Using the commandlsblk listed all disks and it was there, on /dev/sdc1. The HDD was functioning, but i couldn't access its content. When used GParted, shows only "unaloccated space", but still there, despite this message. I tried everything: TestDisk, ntfsfix, but nothing could solve the problem, that was: can i access the files within the HDD? if i create another partition table (and how do i do this) i lost the content of HDD? There's any hope to recover the data?

Appreciate all that read. I hope i can find an answer!
Thanks in advance and sorry about the english.

Raffael.






[xubuntu] Partition Misalignment by 1024 bytes topic






Hello,

My Disk Utility says that my extended partition is misaligned by 1024 bytes. I have in /dev/sda2 999gb with /dev/sda5/ (ext4, 35 gb) and /dev/sda6/ (ext4, 964 gb) inside it. With a swap partition at the end, /dev/sda1.

I had a motherboard death on this thing and bought a new motherboard after several months. I never had this message before and am not sure when it appeared after the MOBO replacement. Now, what I find really odd, is that now my supposed SWAP partition (/dev/sda1) is bootable?! What the heck is with that.

If some one can tell me how to neatly post the output of the boot info script I will do so. It was a mess when I just tried it.


I just cannot afford to reformat the drive and don't have the time to back up all the data on it in a way that wouldn't result in the same error (cloning the drive). I am wrapping up a PhD and there is no way in hell I am going to bother with this unless I absolutely have to, but I am worried about it. Should I be?

Thanks,

AlphaA






[ubuntu] HOWTO repair Corrupt Partition? topic






Hello, i'm having this problem since 2 weeks ago. Whenever I open my netbook it will go direct to bios. I tried to format gparted but failed. it says partition is unallocated. Someone please help me. I don't know what to do. Thanks in advance - http://paste.ubuntu.com/10159124/






[ubuntu] Disk Utility: "Partition is misaligned by 1024 bytes..." topic






I'm planning to steal some of my Windows 7 partition to increase size of my Ubuntu on my dual-boot as I explained here (just waiting til I can buy some more internet allowance so I can download a Live iso - my internet access is via tethered smartphone). While waiting for my piggy bank to fill, I had a look at my system with Disk Utility, and found my Ubuntu partition is "misaligned by 1024 bytes" which may result in very poor performance." (Screenshot attached)

The laptop is giving less-than-optimal performance, but this may very well be because I smashed the screen and fed coffee to the keyboard. I use an external monitor and usb keyboard and mouse now, so my laptop is a desktop... but who knows what other destruction I have caused the machine's innards? Anyway, I'd like to fix this "misalignment" issue - but not if it means I have to reformat and lose my music/video/other collection (yes, backup backup backup... but it would be such a pain - plus the "poor" performance isn't that poor, and as I already wrote, there are many other possible reasons why performance isn't as good as what it was).

So, does "repartitioning" in this case mean reformating/whatever and losing my files? Or have I misunderstood this? What exactly does this repartitioning entail?

Another quick question: I said that I'm waiting til I can download an Ubuntu Live iso before shrinking the Windows 7 partition and giving the extra freed-up disk-space to Ubuntu. Obviously I don't have an Ubuntu iso. However, I do have a kubuntu-13.04-desktop-amd64.iso and a lubuntu-13.04-desktop-amd64.iso. I could use one of them rather than having to download an Ubuntu image, right? But I'm not a Kubuntu or Lubuntu user, I don't know what the required tools may be called... so can someone perhaps enlighten me on this too? Cheers.









Sunday, 8 February 2015

[ubuntu] I have to make partition from windows merged into Ubuntu topic






Guys Actually I performed a dual boot on preinstalled windows8 system however I Installed ubuntu in it now Ubuntu has 100 gb in my pc now I want to allot 100 more Gb to it so I formatted a 100gb drive partition and trying to add it is there any possibility guys please suggest me, Your suggestions are welcome and Always valuable











Attached Images












backup drive for deja-dup: encrypt partition, or backups? topic






I'm about to start using a backup drive with Deja-Dup, and I'm curious: Is there a common wisdom about whether I should encrypt the whole partition when I format the drive? Or should I just tell Deja-Dup to encrypt its backups? Is it just personal preference, or would one be substantially faster or more secure? I'd welcome your insight!






Friday, 6 February 2015

Vanished boot/LUKS partition -- recoverable? topic






I am working on a gen4 i5 Dell XPS 13 with a 128GB SSD. Ubuntu 14.10 x64 Desktop was installed using the standard setup with ext4, LVM, and LUKS encryption.

Recently the user, who did not do any disk or partition editing prior to restarting their laptop, restarted with a missing operating system. The boot partition vanished.

Upon booting with Ubuntu via Live USB, the disk is healthy and is a completely empty DOS partition.

What the expletive? is this recoverable?

Cheers






Thursday, 5 February 2015

Change ownership of new partition topic






I just created 2 new ext4 partitions using gparted on my primary hard drive. System is running Lubuntu current version. Cannot write to partitions.

I have seen many threads on this topic, and cannot get any of the solutions to work yet.

I hate having to do such tasks in terminal - is there any other way? Is there a way to recreate the partitions with correct ownership as workaround?

If neither, please help with correct terminal commands. Please, step by step and very complete and simple as possible - terminal is new to me.

Thanks!






Wednesday, 4 February 2015

[ubuntu] I can't create a /home partition - Weird Error topic






Hello,

I'm a user between Beginner and Advanced and I'm pretty much good with various distros but lately I have upgraded my Hard Drive to 4TB and today when I tried to install Ubuntu it somehow didn't work. I dunno why :mad:. I have created 25GB '/' (root) partition then when I tried to use the rest of my 4TB unallocated space I simply couldn't because I got that error:



Tho I have created a 1TB partition and even tho I got error, I clicked on OK and it created the partition but I want to use the whole unalocated space which is around 4TB ?

Any help on this one please ?

Thank You.