Reputation
269
Top tag
Next privilege 300 Rep.
Create new tags
Badges
3 16
Newest
 Curious
Impact
~100k people reached

Jun
17
comment Install Ubuntu without making Windows license void
@xunilk: I would highly recommend against using a disk management tool that resizes the currently running system partition if you can avoid it. If you are using GParted from the install CD, the partition you're resizing is not mounted, so it will be a lot safer than if you're resizing the active partition from inside the running Windows. In my experience, GParted is very reliable to do even complex operations.
Feb
21
comment How to mount btrfs subvolume, it isn't working / mounting
files in /dev are usually created at boot time or dynamically at run time when devices are plugged. Anyway, try renaming your LVM VG to have no dashes. A quick search on Google seems to show a host of different issues with dashes in the VG or LV name. As to which component this bug should be filed on, that's probably for the developers to decide whether they want to to reject VG names containing dashes during VG creation or to actually fix all components with issues with dash (IMO, the former is more likely).
Feb
20
comment Will creating a text file in vi change my computer?
put a # in the beginning of all the commands to comment out all the commands so they don't get executed accidentally I am not quite sure whether that's supposed to be a serious suggestion or a joke. My sarcasm detector failed me today.
Feb
20
comment Will creating a text file in vi change my computer?
make me a sandwich. You won't have permission to do this. sudo make me a sandwich. Aye, aye, sir!
Feb
20
comment How to mount btrfs subvolume, it isn't working / mounting
Does that "/dev/mapper/fs--1--vg-root` device file exists? And if it does, what type of file is it? Yes, creating a subvolume after installation wasn't a problem at least in 14.04 where I had similar setup. What's your VG and LV name? Can you try using the /dev/myvgname/mylvname device file name?
Feb
19
comment How to mount btrfs subvolume, it isn't working / mounting
Why do you seem to be mounting an LVM VG (volume group)? Shouldn't you be mounting an LV (logical volume)? I'm currently not at my workstation that has LVM and BTRFS right now, so I can't check whether the mapper name should look like (/dev/mapper/fs--1--vg-root), but they look odd. If I recall correctly, in my workstation the BTRFS is mounted with the LV's UUID. I believe you can also mount with the /dev/vgblah/lvbleh, but I've never tried mounting it with /dev/mapper. From a quick search, the naming convention used by device mapper for an LV seems to be /dev/mapper/vgblah-lvbleh.
Feb
15
comment How to mount btrfs subvolume, it isn't working / mounting
Does the subdirectory /srv exists? mount needs the target directory to already exist before the partition/subvolume can be mounted there.
Jan
30
comment how can I configure my live (x|l|k)ubuntu to: have my username and NOT autologin
@nass: did you try altering /etc/lightdm/lightdm.conf in the squashfs image?
Jan
30
comment how can I configure my live (x|l|k)ubuntu to: have my username and NOT autologin
to improve security why do you think doing this would improve security? It's trivial to read any files or modify the USB to remove passwords in your account.
Dec
31
awarded  Curious
Nov
28
awarded  Tumbleweed
Nov
21
revised Recovering settings from zombie hibernation
added 488 characters in body
Nov
21
asked Recovering settings from zombie hibernation
Aug
15
revised Do higher level scripting languages use shell scripts to work?
deleted 4 characters in body
Aug
15
answered Do higher level scripting languages use shell scripts to work?
Feb
25
comment How do I run 'sudo' command inside a script?
there may be commands in the script that don't need the root privilege, you can drop the root privilege temporarily for those commands by using sudo -u username
Feb
24
comment How do I run 'sudo' command inside a script?
Just put it in the script, what's the problem?
Feb
24
awarded  Popular Question
Oct
11
awarded  Notable Question
Aug
27
comment Is it possible to write protect a flash drive?
Unless you're using it for an extremely write-heavy application, don't use ext2 for flashdrives; it's non-journalled filesystem, so you're quite likely to lose data on unclean mount. The meager performance or extended life benefit of not journalling is usually not worth the risk of data losses, considering most SD card now employs good wear leveling algorithm.