General Linux Chat and Small Questions v. Install Arch
4,946 replies, posted
Heya,
I installed Arch Linux on Virtualbox. Everything went fine until I installed a desktop manager called SLiM. I added the necessary things in /etc/rc.conf and I rebooted and then.. I forgot to make a new account.
Now I'm stuck staring at a login window, with no means to go back.
And so, I got multiple questions. Is it possible to boot Arch in such a way so it won't load the DAEMON array in rc.conf? How do I create an account with root privileges?
I'm sorry if I irritate you, I'm a relatively new Linux user.
Well, first of all, you shouldn't put slim in the daemons array. You should add it to your /etc/inittab and change you default runlevel to 5.
I am assuming that SLiM doesn't like the idea of letting you log in as root. The solution I can think of is to boot in runlevel 1.
When the thing boots (in the GRUB menu), hit tab or e or whichever key is labeled as edit (I forgot). Add the number 1 to the end of the line that starts with kernel.
You should be either logged in as root automatically or be asked for your root password. Either way, log in as root and remove the thing from the DAEMON array and reboot.
Thank you very much Boris. However, I still need to know how to create an account. I already used the adduser interactive process, but I am baffled when it comes to groups. In the initial group, I only put root.
[img]http://gyazo.com/b48b1b7bd82b8f03d20162a75361233f.png[/img]
If I do it that way, when I go on to use pacman, Arch asks me to switch over to root to download stuff with pacman.
[QUOTE=supervoltage;34745982]Thank you very much Boris. However, I still need to know how to create an account. I already used the adduser interactive process, but I am baffled when it comes to groups. In the initial group, I only put root.
[img]http://gyazo.com/b48b1b7bd82b8f03d20162a75361233f.png[/img]
If I do it that way, when I go on to use pacman, Arch asks me to switch over to root to download stuff with pacman.[/QUOTE]
Even if slim is apposed to root users, you should be able to just go to another virtual console with Ctrl + Alt + [F1 - F6] and log in there. As I said in a previous post virtual console 7 (Ctrl + Alt + F7) usually runs your DE. As for the issue with pacman, you can just install sudo and run pacman through that.
[editline]17th February 2012[/editline]
Just saw the image: your new user shouldn't be assosiated with root. Instead of root, user "users" as your initial group and populate the additional groups with whatever other common groups you want, which you can find [url=https://wiki.archlinux.org/index.php/Groups]here[/url] under the header "Groups"
[QUOTE=Koenigsegg;34731715]Could you elaborate on that please?[/QUOTE]
download plop and write it to a floppy
I never used the interactive method.
I usually go:
[code]
useradd -m -G audio,lp,optical,storage,video,games,power,scanner -s /bin/bash myuser
[/code]
Here's a bit more information on the subject:
[url]https://wiki.archlinux.org/index.php/Beginners'_Guide#Non-interactive_method[/url]
Here's the command broken down:
-m creates the user's home folder
-G is the list of groups the user will be initially a member of (excluding the primary group)
In the example, you see a list of groups, you don't need to include all of them. I often omit lp and scanner as they are no use to me.
-s is the default shell for the user
myuser is the name of the user.
Thanks guys, I managed to create the account.
My super desktop blew up so I got a cheap laptop to bring to school and shit.
Sadly Ubuntu doesn't seem to know how to suspend or hibernate. Only shutdown. Either of those two options makes the screen black, but the backlight remains on, and the CPU fan actually [I]speeds up[/I] and doesn't stop.
Still miles better than Windows.
The laptop was rather low-end, a $400 ASUS book. Still, it has USB 3 and HDMI which should be cool.
I decided to install Linux when I didn't feel like buying a new copy of windows and I'm already enjoying it more.
However when I installed I set up partitions to each section, eg one for home, one for root, one for swap and so on.
I don't think it worked though and I'm using 10gb of a 2tb hard drive. Here's a picture:
[img]http://img860.imageshack.us/img860/3742/drivesn.png[/img]
[img]http://img338.imageshack.us/img338/9095/fdisk.png[/img]
Any help would be greatly appreciated, thanks.
[QUOTE=Elecbullet;34757895]My super desktop blew up so I got a cheap laptop to bring to school and shit.
Sadly Ubuntu doesn't seem to know how to suspend or hibernate. Only shutdown. Either of those two options makes the screen black, but the backlight remains on, and the CPU fan actually [I]speeds up[/I] and doesn't stop.
Still miles better than Windows.
The laptop was rather low-end, a $400 ASUS book. Still, it has USB 3 and HDMI which should be cool.[/QUOTE]
Try adding
[code] acpi=nonvs[/code]
Into the command line.
[QUOTE=Anthrax713;34762913]I decided to install Linux when I didn't feel like buying a new copy of windows and I'm already enjoying it more.
However when I installed I set up partitions to each section, eg one for home, one for root, one for swap and so on.
I don't think it worked though and I'm using 10gb of a 2tb hard drive. Here's a picture:
Any help would be greatly appreciated, thanks.[/QUOTE]
Your root partition (/) is 10GB.
It looks like you made a 900GB ext4 partition somewhere for some reason.
I like to tell people who come from Windows to just have a swap partition at the end and a big-ass partition that's mounted at / for the rest of the space.
Click on the big block that says 900 GB ext4 and check where it's mounted.
[QUOTE=FlamingSpaz;34763259]Try adding
[code] acpi=nonvs[/code]
Into the command line.[/QUOTE]
What command line lol, I mean to use the click menu in Unity to suspend.
[editline]18th February 2012[/editline]
[QUOTE=Anthrax713;34762913]I decided to install Linux when I didn't feel like buying a new copy of windows and I'm already enjoying it more.
However when I installed I set up partitions to each section, eg one for home, one for root, one for swap and so on.
I don't think it worked though and I'm using 10gb of a 2tb hard drive. Here's a picture:
[img]http://img860.imageshack.us/img860/3742/drivesn.png[/img]
[img]http://img338.imageshack.us/img338/9095/fdisk.png[/img]
Any help would be greatly appreciated, thanks.[/QUOTE]
If you want me to be really honest, all you really need is a root partition and a swap partition. You [I]could[/I] create a separate partition for /home, and that's actually a good idea because you can preserve documents and settings and stuff across reinstalls. Any more partitions than that is kinda silly unless you have specific things in mind.
If you do create a separate /home partition it should be like 90% of your disk, assuming Linux is all you want. Linux root partition can easily squeeze into 10GB or if you're careful even less.
I poop files across the entire drive so I generally just use swap + / partition
[img]http://img687.imageshack.us/img687/2892/mountc.png[/img]
I'd like to create both a root and a home partition for preservation reasons etc, I can see that it's not mounted in the right place, I'm going to delete most of the other partitions and if anybody tell me how to get this partition to mount into the right place that'd be greatly appreciated. I'm gonna leave a TB free for if I decide to install windows again.
I've just had a lovely experience with libpng and arch in general. I just did a system update and this update included a libpng update going from 14 to 15. That's all fine and dandy normally, but it seems that most of my system is still dependent on libpng14 and doesn't care for the existence of libpng15.
Normally I would just download libpng14 from aur, but it was down for maintenance.
I decided to make a package for libpng14 myself. I knew i had to get the old version and remove certain things (like libpng.so) from the install. When I managed to get makepkg to run properly I looked at the contents of the package and I found that libpng14 had weird lib names.
I assumed that libpng used a naming scheme in the lines of libpng.1.4.x.so. I later found out that it didn't. It uses libpng.14.x.y.so which is just confusing.
Either way, by that time aur was back up and I got the package from there.
It's a good thing that I didn't install the package I made because I didn't remove the stuff that libpng already had.
Hand brake hasn't been updated from v0.95 in over 13 and a half months... is it safe to say that the project is dead? Or is it just moving slower than Gabe Newell? I'm tired of not having any good up-to-date video encoders for Linux that utilize the GPU.
Anyone know anything about adding a battery checker to system tray in AwesomeWM?
[QUOTE=Boris-B;34765991]I've just had a lovely experience with libpng and arch in general. I just did a system update and this update included a libpng update going from 14 to 15. That's all fine and dandy normally, but it seems that most of my system is still dependent on libpng14 and doesn't care for the existence of libpng15.
Normally I would just download libpng14 from aur, but it was down for maintenance.
I decided to make a package for libpng14 myself. I knew i had to get the old version and remove certain things (like libpng.so) from the install. When I managed to get makepkg to run properly I looked at the contents of the package and I found that libpng14 had weird lib names.
I assumed that libpng used a naming scheme in the lines of libpng.1.4.x.so. I later found out that it didn't. It uses libpng.14.x.y.so which is just confusing.
Either way, by that time aur was back up and I got the package from there.
It's a good thing that I didn't install the package I made because I didn't remove the stuff that libpng already had.[/QUOTE]
That's why I always look at the website before doing a major upgrade. [url=http://www.archlinux.org/news/libpnglibtiff-rebuilds-move-from-testing/][link][/url]
[QUOTE=Anthrax713;34765225][img]http://img687.imageshack.us/img687/2892/mountc.png[/img]
I'd like to create both a root and a home partition for preservation reasons etc, I can see that it's not mounted in the right place, I'm going to delete most of the other partitions and if anybody tell me how to get this partition to mount into the right place that'd be greatly appreciated. I'm gonna leave a TB free for if I decide to install windows again.[/QUOTE]
I managed to fix this, just tinkering with linux feels rewarding haha
[editline]20th February 2012[/editline]
Okay I have a new problem and I'm really struggling with this, I installed Kubuntu files through Ubuntu Software Centre and logged into the KDE desktop because it's much more attractive and customisable. Now I can't download anything through Ubuntu Software Centre, Muon Software Centre or Synaptic.
Anybody have any ideas? I'm not sure but I think it's something to do with the program not being assigned the correct priveledges or something.
Does linux have good SSD support?
TRIM support was added in Linux 2.6.33 (Feb 2010), ext4 and brtfs are known to support it.
So yes, as long as you format the drive as ext4.
[QUOTE=Doritos_Man;34794062]Does linux have good SSD support?[/QUOTE]
Yep, just make sure you add "discard" do your fstab entry.
This has most likely been asked before, but is installing a desktop environment and the likes hard on arch?
[QUOTE=Dead snipe;34803330]This has most likely been asked before, but is installing a desktop environment and the likes hard on arch?[/QUOTE]
no.
pacman -S <DE name>
[QUOTE=kaukassus;34803503]no.
pacman -S <DE name>[/QUOTE]
cheers, going to try out arch now
Regarding my last post on the previous page, I can fix this problem by typing "sudo software-center" into the terminal but how do I make it do this as default? Any ideas?
[QUOTE=Dead snipe;34803637]cheers, going to try out arch now[/QUOTE]
don't forget to install xorg and a video driver first.
"pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils"
and
pacman -S xf86-video-nouveau
if you have any problems, then take a look at the beginners guide
[url]https://wiki.archlinux.org/index.php/Beginners'_Guide#Graphical_User_Interface[/url]
Don't forget to add the proper line to ~/.xinitrc as well :p
Just wiped my netbook's hard drive clean of Windows 7 forever, and I'm feeling dumb for not making the switch sooner. I don't think my little machine's ever chugged this fast. It's like somebody gave it wheels.
Hello, Linux!
Putting it on my other laptop, now.
[editline]21st February 2012[/editline]
There anything I can do to further optimize Ubuntu? I'm trying to make it as minimal as possible. My netbook is a bit tired, and my laptop originally ran Windows XP.
[QUOTE=Big Dumb American;34811067]Just wiped my netbook's hard drive clean of Windows 7 forever, and I'm feeling dumb for not making the switch sooner. I don't think my little machine's ever chugged this fast. It's like somebody gave it wheels.
Hello, Linux!
Putting it on my other laptop, now.
[editline]21st February 2012[/editline]
There anything I can do to further optimize Ubuntu? I'm trying to make it as minimal as possible. My netbook is a bit tired, and my laptop originally ran Windows XP.[/QUOTE]
Check the thread version for minimalism (again, I'm not versed in Ubuntu whatsoever, so my bias is somewhat unfounded)
Sorry, you need to Log In to post a reply to this thread.