Ubuntu :: Can't Boot - Need To Mount Encrypted Partition?
May 2, 2010
Times like this Ubuntu makes me want to pull my hair out. When I enter my pass on the login screen, it brings up a "Could not update ICEauthority file" error and then goes to a black screen. I've tried to fix this problem for the past 2-3 hours (searching google, these forums, etc) and at this point, I just want the data off my drive so I can restart with a fresh install of Ubuntu. I used the "gsku nautilus" command to mount the disk from a Ubuntu Drive boot, but it's not letting me have access to the encrypted drive. Does anyone know of a work around for this?
View 1 Replies
ADVERTISEMENT
May 27, 2010
I'm having a problem auto-mounting a new luks partition. I have crypttab and fstab entries. I already have my primary encrypted partition (root) mounting at boot (from the install), but after creating this one manually, it does not open on boot. It auto-mounts when I run the following command manually after boot: sudo luksOpen /dev/disk/by-uuid/<uuid> mycrypt
/etc/crypttab entry:
personalcrypt /dev/disk/by-uuid/a1af5b7b-db58-4690-b586-b74407795e2c none luks
/etc/fstab entry:
[code]...
View 1 Replies
View Related
Apr 11, 2011
I used Ubuntu for years now, but since the latest decisions got public I deceided to try something new: Fedora. I installed the system as a dualboot,Ubuntu and my old data. Because Fedora got installed inbetween of two partitions,ad to do the partitioning manually. I just made one partition /dev/sda4. During the installation process I got asked about the password for my /dev/sda1 partition. Of course, I entered it. So far so good.Now, everytime when I boot, the boot process stops and asks me for the password of the /dev/sda1 partition. However, the boot process does not go on, unless i press STRG+C.After the log in, I can also not access my data, by entering the password (GUI).The only way I can acces the data on that partition is:
Code:
su -
cryptsetup luksOpen /dev/DEVICENAME luks-fedora
[code]...
View 4 Replies
View Related
Jan 31, 2011
I encrypted my /home partition in my last installation F13. For some reason, I have to reinstall F13. After I login, I can not access /home. I followed some instructions like
modprobe dm-crypt
modprobe dm-mod
cryptsetup luksOpen /dev/vg_vit/lv_home vg_vit-lv_home
[code]...
View 3 Replies
View Related
Feb 1, 2016
I have two basically identical harddrives that are encrypted with LUKS containing a complete debian installation:
Code: Select allroot@x200s:/home/b# lsblk --fs
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext2 0b851969-281e-4db2-8a5b-3798e801711b /boot
├─sda2
└─sda5 crypto_LUKS cfcf63ef-448a-4f72-9f58-8f7731cf3dfc
└─sda5_crypt LVM2_member 21CS3f-SQeQ-XcMr-kyDs-OPtR-egmT-HkvJAu
[Code] ....
sda is what I currently run to write this text, sdb is my former harddrive, connected via USB.
I want to access the root partition on sdb.
The problem is:
Code: Select allcryptsetup luksOpen /dev/sdb5 oldhd
Enter passphrase for /dev/sdb5:
root@x200s:/home/b# ls /dev/mapper/
control oldhd sda5_crypt x200s--vg-root x200s--vg-swap_1
root@x200s:/home/b# mount /dev/mapper/oldhd /mnt/
[b]mount: unknown filesystem type 'LVM2_member'[/b]
[Code] ..
Before all this, both sda and sdb where in the same volume group. I renamed the volume group of sdb to "oldDisk"
using
Code: Select allvgrename <UUID> oldDisk
How I can access the data on the root filesystem of my sdb..
View 2 Replies
View Related
Oct 14, 2010
I currently have a simple bash script set up via cron to backup my data (rsync) to an internal hard drive at regular intervals. I leave this "backup" hard drive unmounted, and it is mounted and unmounted as needed with the bash script. If I were to encrypt this "backup" drive (via Luks, or some other means), is there a way to get my backup script to work without me having to be there to enter a password?
View 4 Replies
View Related
Apr 3, 2010
I'm trying to configure pam_mount to automatically mount an encrypted partition (luks) and formatted to NTFS. I typed the command in the configuration file:
Quote:
<volume user="user" fstype="crypt" path="/dev/sda6" mountpoint="~/dane2" options="defaults,umask=000" />
But the partition is mounted read-only. There is some way to mount the partition rw mode?
View 2 Replies
View Related
Feb 11, 2011
I have 2 identical disks originally configured as a pair for a server. Each of the disks has 2 partitions dev/sdb1,dev/sdb2. The sdb1 partitions I had configured as a raid1 mirror. The sdb2 partitions were non-raid and used as extra misc. Space. Further, the raid setup is also encrypted using dm-crypt luks. Now I want to redeploy each of the disks for new purposes. One of the disks i want to deploy exactly as before (keeping the partitions and content), however without being part of a raid array.
I've successfully deployed this disk into a new system and I am mounting the dev/sdb1 partition as dev/md0 because the disk is set to autodetect raid. Actually I am using cryptsetup and mounting with mapper. Can I get rid of the setting for auto detect on this partition without losing the data, or breaking the encryption? I just want to mount the partition as a standalone encrypted disk. Is it as simple as doing crypt setup luksOpen /dev/sdb1 then mounting it with mapper? Or do I need to change the partition in some way. Or do I simply continue to operate it as a 'broken' raid array?
View 2 Replies
View Related
Feb 22, 2010
I'm trying to have a LUKS encrypted partition mounted at startup and to have GDM ask for my key so it will decrypt. Now I followed [URL] to the letter. Except for now, I have it just mounted into /mnt/cryptohome so I'm not messing with my system. My problem is the one everyone mentions in the comments, ubuntu isn't asking for the LUKS key in the X display, it's asking in the first terminal (Ctrl-Alt-F1). This will not do. I need it to ask to mount my drive before I'm even asked to login, so eventually I can encrypt my /home.
View 9 Replies
View Related
Mar 8, 2010
ive recently switched to Gentoo as my primary OS - the only problem im having so far is getting my ubuntu partition to mount, aparantly it is encrypted, although i cannot remember ever doing this. It is an ext4 filesystem. When I do
[code]...
It mounts, but when I cd to /media/Ubuntu/home/dean all I see is a blank README.txt and Access-Your-Prive-Data.desktop files. Is it possible for me to mount my ubuntu partition to be read / written to in gentoo? If not, how do I go about removing the encryption? (I still have access to the ubuntu install)
View 1 Replies
View Related
Jul 9, 2010
I was wondering if there is a version of isolinux or a simular boot loader for Linux, that boots the kernel from an encrypted boot partition? If not, are there any roadblocks that would prevent adding encryption to isolinux?
View 2 Replies
View Related
Jan 21, 2009
I need a FREE solution that can image an entire Luks system encrypted volume and the rest of the used HDD, the MBR and /boot partition. Note: MBR and /boot are not encrypted. Note 2: I want to be able to restore entire drive from image with only a couple of steps. Note 3: Destination HDD space is a factor. Image file must be compressed and the image file must be around 40 to 50 GB or less. The smaller the image the better.
I have used clonezilla live cd before but not for encrypted volumes. I know you can install it in Linux. But, I don't know how to configure it after installation. I would be very happy if someone could tell me how to configure clonezilla in Fedora. How to guides are also welcome. I have one more question. If I image the encrypted volumes and all the stuff I mentioned above while logged in to Fedora, and I restore the drive from the image, will the recovered drive still be encrypted?
View 8 Replies
View Related
Jun 6, 2010
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type
fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running:
mdadm --zero-superblock /dev/sda6
mdadm --zero-superblock /dev/sdb6
7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6
8. watch cat /proc/mdstat
9. update mdadm.conf
mdadm --examine --scan | grep mdx >> /etc/mdadm.conf
10. Load twofish module
[root@localhost ~]# modprobe twofish
11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4
Enter passphrase:
Verify passphrase:
12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata
13. mkdir /ftdata
14. Mount the encrypted volume: mount -O noatime /dev/mapper/ftdata /ftdata
It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir
Now, I unmount the volume
cd ~
Code:
umount /ftdata
cryptsetup remove ftdata
And now, if I try to setup my encrypted volume like this:
Code:
[root@localhost ~]# cryptsetup create ftdata /dev/md4
Enter passphrase:
mount -O noatime /dev/mapper/ftdata /ftdata
I get this error:
mount: you must specify the filesystem type
[Code].....
View 1 Replies
View Related
Jun 6, 2010
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6
7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6
8. watch cat /proc/mdstat
9. update mdadm.conf mdadm --examine --scan | grep mdx >> /etc/mdadm.conf
10. Load twofish module [root@localhost ~]# modprobe twofish
11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4 Enter passphrase: Verify passphrase:
12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata
13. mkdir /ftdata
14. Mount the encrypted volume:
mount -O noatime /dev/mapper/ftdata /ftdata
It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir
[Code]....
So why is it that I can't mount my encrypted volume after the first time? I am giving the correct password when it asks to.
View 3 Replies
View Related
Jun 19, 2010
I was reading this about setting up boot partition to not mount automatically. [URL]
Quote:
Some users don't want their /boot partition to be mounted automatically to improve their system's security. Those people should substitute defaults with noauto. This does mean that you need to manually mount this partition every time you want to use it. Add the rules that match your partitioning scheme and append rules for your CD-ROM drive(s), and of course, if you have other partitions or drives, for those too. Now use the example below to create your /etc/fstab: how to set up a boot partition.
View 5 Replies
View Related
Oct 28, 2010
1- Do I have to mount each partition after each boot? Is there an automated mounting the partitions?
2- Can I have a "My computer" icon on the Desktop?
3- There's a problem that occurred just now.. Yesterday I connected to another monitor, Today, after logging in - using the laptop display -, the icons on the task bar are shifted to the left.. Here's a snap shot.
View 9 Replies
View Related
May 17, 2011
I keep a separate partition for files and folders which I absolutely need for my college work. (I do this because I had accidentally wiped my /home partition while upgrading Linux before)
Anyway, I want to know how to mount this partition at boot automatically .. I know I am supposed to append an entry to /etc/fstab but I am a lil apprehensive about doing this without a go-ahead from users here.code...
View 3 Replies
View Related
May 15, 2010
I deleted a Windows 7 release candidate partition from my computer. Now when I boot into ubuntu, it still tries to mount the deleted partition and I have to hit the letter 's' to skip mounting the partition each time my system boots. Where is ubuntu getting this partition information from and what can I do to remove it?
View 4 Replies
View Related
Jul 29, 2010
I just now re-installed 10.04 on my box, but now I can't get back into Windows. I'm getting the BOOTMGR not found error, that I'm familiar with, but the circumstances surrounding it are completely new to me. In the past I've encountered errors from hard-shutdowns where I couldn't mount the partition, until I checked it with windows first, but I can't boot into windows at all any more. I'm pretty sure my grub is pointing to the right location:
[Code]...
View 6 Replies
View Related
Mar 19, 2010
Upon trying to boot Windows I got through the GRUB startup selections and then i get stuck at a black screen displaying "Starting Up. . ." That would be no problem, I just boot ubuntu instead and mount the partition to access the programs I'm looking for. Now I get an interesting error message:
"Error mounting: mount exited with exit code 13: ntfs_mst_post_read_fixup: magic: 0x00150000 size: 4096 usa_ofs: 0 usa_count: 1040: Invalid argument Actual VCN (0x15000011d92501) of index buffer is different from expected VCN (0x1). Failed to mount '/dev/sda1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details."
I would run chkdsk in windows if I could, but that's my problem in the first place.
View 3 Replies
View Related
Mar 28, 2010
I have a problem with my laptop. I have Ubuntu 10.04 Lucid Lynx installed.
Everytime I start the laptop it works fine til the GNU GRUB page. There I choose code...
So what should I do? Is it something I can do myself or do I have to leave it in or something?
View 5 Replies
View Related
Jan 15, 2011
On my tri boot system I have a 750 GB HD that is formatted with NTFS, I would like to share it between windows and linux.How can I mount it at boot up so I can access it in Ubuntu? I want to be able to set it as the default rip drive for Kino and it won't let me!
View 7 Replies
View Related
Aug 14, 2010
i've a partion hda2 that i'd to mount on boot as /folderXhow could i do that.
View 3 Replies
View Related
Mar 9, 2010
Can i mount the partition on which windows is currently installed in (dual boot, win and ubuntu) and navigate through its folders and take files, eg. pics, songs... to place on my ubuntu desktop. Just wondering, im trying to get others used to linux enviroment and want to start transfering things wihtout making it too drastic for them. The process that i described above doesn't have to be exactly like that, but basically anything that gets me similar results.
View 9 Replies
View Related
Jan 17, 2011
The boot.ini file for windows fail(reason unknown) and now i cant boot to any installed OS. Used Ubuntu live from usb to explore the disks, but as i tried to mount the W�ndows partition it failed..
Code:
# mount -t ntfs-3g /dev/sda /media/c/
ntfs_mst_post_read_fixup: magic: 0xffffffff size: 1024 usa_ofs: 65535 usa_count: 65534: Invalid argument
Record 0 has no FILE magic (0xffffffff)
[code]....
View 6 Replies
View Related
Jun 17, 2011
I'm trying to set up my Fedora 15 installation to automatically mount (with all privileges needed for read/write access w/o a password prompt) an ext4 partition on the same HDD. Below is the output of sudo fdisk -l.
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
Partition table entries are not in disk order I'm trying to automount /dev/sda8, I believe. I'll check that when I've rebooted to by Ubuntu partition, 'cause that's where I know how to do it. I tried to use pysdm, since that's what I used to do the same thing in Ubuntu, but it wasn't found by the Fedora package manager.
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
Feb 19, 2010
I attach a picture of my future disk partitioning,as I thought it should be. As you can see, the first two partitions are 2 different windows installations. At the end of the disk, I have specified a partition as ext3 104855 MB (sda9) and swap 8192 MB (sda. What should the the mount point of sda9 be? Should I specify a partition for /, /boot, /home, /tmp, ...etc? Or it is ok to make mount point '/'?
View 5 Replies
View Related
Oct 23, 2010
How to mount vfat partition automatically after boot? After login it it will mount all vfat partition and the icon of those parition will be at desktop. How can it be done. udisks is installed. If i click a vfat partition from pcmanfm it prompts for password to mount.I don't want to click. It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop
View 7 Replies
View Related
Apr 29, 2011
I want to automatic mount a ntfs partition after start. I work on fstab, everything seems to be ok, but now something strange is happening: sometimes after boot, when I use fdisk, I find all the partitions as sda, sometims they seems to appear as sdb. Of course, if in fstab I have written sda and they are sdb, they will not be aoutomount... I am using fedora 14 I was expecting that allways the partitions to be sda or sdb.
View 1 Replies
View Related