Quantcast
Channel: User psusi - Ask Ubuntu
Browsing latest articles
Browse All 50 View Live

Comment by psusi on Increase Ubuntu disk space

GRUB will be fine, you can proceed with moving the partition ( though it will take a long time and a power failure or crash will trash all of your data, so make a backup first ).

View Article



Comment by psusi on fail create ext4 filesystem on micro sd card

Did mkfs give any errors?

View Article

Comment by psusi on Failed to install grub2 while installing ubuntu

Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

View Article

Comment by psusi on How to boot always manaually from grub> minimal-bash

@AhmedAbdul-Monem, if that's what it looks like, then that's probably what it is. You may want to set root=(hd0,1)/.

View Article

Comment by psusi on Enable Hibernate in Ubuntu 18.04 LTS

Voting to reopen since in 18.04 things have changed. The pm-utils package is obsolete and power management is now handled by systemd.

View Article


Comment by psusi on How to mount a whole disk image formatted in UFS filesystem

The entire disk, or just a partition?

View Article

Comment by psusi on How to mount a whole disk image formatted in UFS filesystem

The module will be loaded automatically if needed.

View Article

Comment by psusi on Read-write problem with my HDD

Your filesystem is probably corrupt; run chkdsk/scandisk from Windows.

View Article


Comment by psusi on Any swap usage causes system wide freeze

Swap is slooooow. You didn't say how much swap you started using, but with an insane 488G allocated, I would imagine you started using many GBs worth. That will bring your system to a crawl as it will...

View Article


Comment by psusi on ubuntu unable to resolve host

What does hostname say? For some reason your shell thinks your hostname is ubuntu72, but /etc/hosts thinks it is ubuntu-Invalid-entry-length-0-DMI-table-is-broken-Stop. Did you recently change the...

View Article

Comment by psusi on how to add host file in ubuntu 16.04

You also might want to tell your silly IT department to set up DNS correctly instead of having everyone mess with their hosts file.

View Article

Answer by psusi for Installation freezes at 33% of partition formatting step

It's a known bug. If the partition already has a filesystem on it, this step will hang in 14.04 iirc, but it has been fixed in 16.04, so you probably should use that instead. As a workaround, run...

View Article

Answer by psusi for Extend a partition with nonadjacent space available

Your disk appears to be partitioned using GPT and boots using EFI, so logical/extended partitions do not apply to you. The only thing you need to do is boot from the livecd or usb, and move sda4 to the...

View Article


Answer by psusi for Allocation Unit Size for New Drive

You can never go wrong with sticking with the default. 4kb is the default block size used by most filesystems. You can shave a bit of overhead if you mostly store larger files by using a larger block...

View Article

Answer by psusi for Boot partition full and I can't purge old kernels

Once you have run out of space and have half installed packages, apt gives up. You have to remove some packages with sudo dpkg -r xxxxx to get some free space, then you can have apt remove more.

View Article


Answer by psusi for Confusion with permissions on new installed HDDs

So I edited fstab so that the drives are mounted at boot without restrictions on the permissions and this worked. This appears to not be the case. Not only are there no such options in your fstab, but...

View Article

Answer by psusi for How to create efi partition and install GRUB bootloader...

grub-install simply copies the binaries from /usr/lib/grub to /boot/efi, and configures the EFI system variables to point there. Just mount the ESP in /boot/efi and run grub-install. It still requires...

View Article


Answer by psusi for How to allow partitions to dynamically extend?

First you need to run parted and use its resizepart command to expand the partition to use the whole disk, then run pvresize to tell LVM about the new space, then run lvresize to grow the logical...

View Article

Answer by psusi for Invalid MIT-MAGIC-COOKIE-1 key (gksudo:2984): Gtk-WARNING...

Use su without the dash. That will keep the XAUTORITY environment variable intact.

View Article

Answer by psusi for Is it necessary to mount ESP at boot?

It needs to be mounted for any updates to grub to install properly. That's about all. Similarly, if you have two of them only one will be updated ( the one that is mounted ) when grub is updated.

View Article

Answer by psusi for (terminology) init.d script = LSB Init Script = System V...

This is a system V init script. The LSB header is just a comment block that sysvinit ignores, but provides the information that upstart/systemd need to figure out when they should run it.

View Article


Answer by psusi for hwinfo replaced with ... what?

You can use the vbeinfo or videoinfo command within grub itself to list available video modes.

View Article


Answer by psusi for Zombie process: sd_cicero, Ubuntu 16.04

It looks like the process forked itself and the child has exited, but the parent is not correctly reaping the child. If this situation persists, then this is a bug in the program that you should report.

View Article

Answer by psusi for Ext 3 or 2 file system recovery: Bad superblock with no...

It looks like something messed up your partition table. If the drive was partitioned with any software more recent than 7 years or so, the partition should begin on sector 2048, not sector 63....

View Article

Answer by psusi for What is the meaning of "[command] &" in Ubuntu?

It is simply saying that appending an & after a command will run that command in the background. Example: sleep 10 This will wait for 10 seconds before returning you to the prompt. Add the &...

View Article


Answer by psusi for How do I convert a MBR drive (encrypted LVM or...

Use gparted or another partitioning tool from the live cd to format the drive and create a GPT partition table, then install Ubuntu. It will keep the existing partition table.

View Article

Answer by psusi for what UUID to use in fstab to mount LVM ubuntu-vg root

It appears that you somehow managed to copy all of your files into that folder. As long as all of your personal files are still in your home directory, you should be safe to remove that extra copy with...

View Article

Answer by psusi for Can booting Windows from GRUB cause BSOD?

Grub can only make use of the UEFI bios to read the system from the disk to boot it, just like the Windows UEFI boot loader does. I'm not sure if the Windows boot loader bothers to make use of the...

View Article

Answer by psusi for Increase Root Partition of Security Onion (Ubuntu) VM in...

You created a tiny ( < 1mb ) partition in the small gap before your previously existing swap partition instead of using the free space at the end of the disk. Use gparted to delete this useless...

View Article



Answer by psusi for mount unknown filesystem type 'lvm2_member'

You used the exact same name (ubuntu-vg) for your new volume group as the old volume group. You must give them unique names. You can rename one of the groups using vgrename and its UUID. Find the UUID...

View Article

Answer by psusi for What is the recommended way to empty a SSD?

ATA Secure Erase You should use the drive's security erase feature. Make sure the drive Security is not frozen. If it is, it may help to suspend and resume the computer. $ sudo hdparm -I /dev/sdX |...

View Article

Answer by psusi for Why is more than 3 GB of RAM not recognised when using...

There are several possible reasons. One is that you are, in fact, not running the amd64 build. Another is that your motherboard and/or BIOS are broken and not reporting the correct amount of RAM....

View Article

Image may be NSFW.
Clik here to view.

Answer by psusi for How to move Ubuntu to an SSD

1) Copying files You want to copy the FILES, not the whole partition ( including its free space ), so you don't need to resize the partition first. Boot from the livecd and mount both the HD and SSD (...

View Article


Answer by psusi for Kernel Panic - not syncing: VFS: Unable to mount root fs...

You are missing the initramfs for that kernel. Choose another kernel from the GRUB menu under Advanced options for Ubuntu and run sudo update-initramfs -u -k version to generate the initrd for version...

View Article

How to monitor what files are opened

Is there a tool to monitor what processes open what files on the system so you can track down which process keeps touching a specific file? Lsof can find out if you run it while the process has the...

View Article

Answer by psusi for Can I copy 2 partitions at a time with sudo dd

See where the partition ends with sudo parted /dev/sda unit s print. Add one to the end sector, and tell dd to copy that many sectors: sudo dd if=/dev/sda of=/dev/sdb count=xxxx where if is the input...

View Article


Answer by psusi for How to define an optional dependency in a debian package

Why do you want your package to be installed after? Does your postinst configure your package differently if it finds the other package is installed? If so then you can use a trigger to cause your...

View Article


Comment by psusi on Can't delete a btrfs snapshot

@misiu_mp by running mount to mount the disk it in an empty directory and not using the subvol mount option to select a different subvol to mount.

View Article

Answer by psusi for Install without cd or usb

You can write the installer image to a hd and boot from it. If you edit the kernel command line options on the boot menu and add toram then it will load entirely into ram and leave the disk unmounted...

View Article

Answer by psusi for Where to install software and executables for all users

/usr is world readable, so no, there will be no problem with other users being able to run the program. /usr/local is where applications that you compile from source code yourself go. Programs...

View Article

Answer by psusi for Why don't the Ubuntu repositories have the latest...

Two reasons. The first is quite obvious: it requires a human to spend time updating the package when a new upstream comes out. The second is that if you are running a stable release as opposed to the...

View Article

Browsing latest articles
Browse All 50 View Live




Latest Images