Wikipedia:Reference desk/Archives/Computing/2016 February 5

Computing desk
< February 4 << Jan | February | Mar >> Current desk >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


February 5

edit

How I rename system files on pcbsd?

edit

How I rename system files on pcbsd? I problably need use the root password (like when updating or installing printers that asks for it), but I can find a way to "enter root mode" to rename the files needed to change some boot files stuff I want to change. — Preceding unsigned comment added by 201.79.69.164 (talk) 10:05, 5 February 2016 (UTC)[reply]

mv? try "man mv" for instructions. Maybe you need the "sudo" command as well. Or, ehm, "rename"? To be honest I have never used pcbsd. The Quixotic Potato (talk) 11:34, 5 February 2016 (UTC)[reply]
PCBSD uses KDE as the desktop manager by default. If you are logged in as yourself and not root, you won't be able to rename the system (root) files through the GUI. You can do it in one of three ways: You can logout and login as root. You can open a shell and run Dolphin as root (sudo dolphin). You can open a shell and mv (sudo mv oldname newname). 209.149.115.90 (talk) 14:30, 5 February 2016 (UTC)[reply]
Thanks for the help, I was able to rename files with this info.201.79.72.126 (talk) 15:40, 5 February 2016 (UTC)[reply]
Agreed...and 'sudo' is only available if your account is a member of the 'sudoers' group...which may not be the case for your regular login account. If you know the root password, you can use 'su' (hit return, enter password, hit return) to become root - and then just 'mv' the file or add yourself to the sudoers group so you can use sudo for this kind of thing in the future.
I've gotta say that if you need to ask this question, then you're probably not sufficiently experienced to start renaming system files! It's very, very easy to accidentally 'brick' your system so it won't even reboot! There is a reason these files are locked up so only 'root' can change them!
SteveBaker (talk) 15:44, 5 February 2016 (UTC)[reply]

How do I change the default boot order on PCBSD?

edit

I tried to rename files in the grub.d to 10_RestOfTheFileName, or 30_Rest_of_name ....., like the readme told me but nothing worked. The default boot is pcbsd and I want that the boot loader start with windows xp selected (and so open it if no key is pressed)201.79.72.126 (talk) 15:40, 5 February 2016 (UTC)[reply]

Given this (and the previous) question, you might be better off using a GUI tool to change the GRUB settings - there is "Grub customizer", for example. Not sure if it works with PCBSD - but I see no reason why not.
http://ubuntuforums.org/showthread.php?t=1664134
SteveBaker (talk) 15:47, 5 February 2016 (UTC)[reply]