LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Use The dd Command to Make a Flash Drive Bootable

Posted 03-14-2017 at 05:54 PM by Ztcoracat

Sometimes Unetbootin doesn't work and leaves things on the drive behind.

Using the dd command is very useful and only takes a few minutes.

First execute; as root, fdisk -l to find out what drive the flash drive is.
I'll use /dev/sdg as an example.

To reformat run as root:
Code:
mkfs.vfat /dev/sdg -I
Unmount the drive:
Code:
umount /dev/sdg
Than to write the .iso to the flash drive run:
Code:
dd bs=4M
...
LQ Guru
Posted in Uncategorized
Views 434 Comments 2 Ztcoracat is offline
Old

How To Get The Driver For The RTL8192ce PCI Card to Play Nice With Debian Testing

Posted 03-14-2017 at 03:44 PM by Ztcoracat

I've had an intermittent connection going on with Sparky Linux which is based on Debian Testing.

If you have the:
Code:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
as your nic than it (the driver) can be made more reliable by disabling power management via module option ips and fwlps.

Create a new file with nano or your fav text editor.
/etc/modprobe.d/rtl8192ce.conf
...
LQ Guru
Posted in Uncategorized
Views 154 Comments 0 Ztcoracat is offline
Old

How To Recover A Lost Root Password

Posted 02-09-2017 at 05:26 PM by Ztcoracat

This works for Red Hat so I'm not sure if it works for other distributions.

In order to recover the lost root password hit the 'e' key as Grub is booting up.

Look for the kernel line and add rd.break to the end of the kernel line and hit Enter.

Than mnt -o remount, rw /sysroot

Than type passwd and enter a new password and do that twice.

After that you will need to make a .auto relable file because SELinux labeling is wrong...
LQ Guru
Posted in Uncategorized
Views 263 Comments 0 Ztcoracat is offline
Old

How To Get Sony Vaio Backlight Working Under Linux

Posted 07-14-2016 at 10:09 PM by Ztcoracat

Got a Sony Vaio with backlight capabilities?

If you answered yes to that question and it's not working I found a workaround.

Open the terminal as root and create this file in Nano or any other text editor.
Code:
/etc/modeprobe.d/sony-laptop.conf
Before you close that file put this argument in it:
Code:
options sony laptop kbd_backlight=2
Than save the file.

(2 is 60 seconds and 3 is unlimited) I recommend setting...
LQ Guru
Posted in Uncategorized
Views 466 Comments 0 Ztcoracat is offline
Old

How To Remove Files When the rm -rf fails

Posted 05-23-2016 at 10:55 PM by Ztcoracat

Not being able to remove files with the rm -rf command is pretty annoying.
When make uninstall or make clean fails as well try this:

Open the Natailus file manager as 'root':
Code:
sudo gksu natailus
Once the file manager launches be careful where you go and what you delete.
Either delete from the right click menu or send those unwanted files to the trash.

If you only have a handful of files to remove/delete you can get rid of them...
LQ Guru
Posted in Uncategorized
Views 412 Comments 0 Ztcoracat is offline

  



All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration