You are not logged in.

#26 2008-01-08 13:24:16

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: My personal Arch-diary

'man' will call a pager program to let you view a manpage. By default, it calls '/bin/less -is', so if you want in-depth information about the keys/usage of less (and therefore man), you can try 'man less'. Also, I've always found it interesting to write 'man man': talk about bootstrapping! big_smile

This is what I put in my rc.conf to enable dhcp:

eth0="dhcp"

Notice it's not an array like DAEMONS or MODULES; it's just a string of characters.

I recommend that you install every one of the BASE packages of the install disk. Arch Linux does not install many useless packages. Most probably everything in the BASE category will have some use for you; and if not, it will only take a few kB of hard-drive space. Arch is pretty bare to start, there's no need to delete anything that comes with the default install.

For a text-mode browser, finferflu recommends elinks. I don't like text browsers though... and a basic x.org setup is not that complicated.

Welcome to Arch!

Offline

#27 2008-01-08 16:26:23

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

Finally, I managed the Internet issue!
Now that I have Internet, should I update my system?

Btw, I tried adding my user to the power group via the usermod command. Sadly, this was not the right group, because 'reboot' still wasn't enable. How do I see to which groups does the user belong? What is the group that enables reboot/shut-down?

Running

passwd -a -S

revealed to me that the min age, max age, warn period and inactivity for my user were inappropriately set by the adduser script. They all should have been set to -1 to avoid any further complications. Using

passwd -w -1 -x -1 -n -1 zdravko

solved this problem. But here I noticed a bug in the manpage. The manpage says the key for min password lifetime is 'm', while in fact the real key is 'n'. The other bug I noticed was that command exited with "password changed", although I never really changed my password. It should have said "settings changed" or something...


The future belongs to those who believe in the beauty of their dreams.

Offline

#28 2008-01-08 17:23:34

ebirtaid
Member
From: USA
Registered: 2007-11-18
Posts: 52

Re: My personal Arch-diary

the command to see what groups your user is in is groups username

Offline

#29 2008-01-08 17:28:36

Wilson Phillips
Member
From: Vicksburg, MS, USA
Registered: 2007-09-24
Posts: 70

Re: My personal Arch-diary

Yes. Now that you have internet, you should update.

pacman -Syu

This should see that pacman needs an update. Let it do that. Then run the same command again and it will update the whole system.


Guarantee does not cover shark bite, bear attack, or children under 5.

Offline

#30 2008-01-08 17:38:52

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: My personal Arch-diary

The full update will be very large and take a long time..

If you get errors, you may need to use the force function....-Syuf.....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#31 2008-01-08 18:07:27

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: My personal Arch-diary

the command for shutdown/reboot is, do this as root.

shutdown -r now

do a

man shutdown

to get more info on that command

the -r switch will reboot once the system is shutdown. Try it out!

Last edited by jacko (2008-01-08 18:09:01)

Offline

#32 2008-01-08 18:53:09

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: My personal Arch-diary

> ls -la /sbin/shutdown 
-rwxr-xr-x 1 root root 18412 2007-11-15 20:21 /sbin/shutdown

Edited with better info
The shutdown executable is part of the "root" group, but that doesn't matter for your purpose.
As far as I know there are a couple of ways to enable the user to shutdown/reboot: you can either put you user in /etc/shutdown.allow and run shutdown with the -a flag:

shutdown -a

Or you can set up sudo to enable people to run that command.

Last edited by finferflu (2008-01-08 19:02:38)


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#33 2008-01-08 21:07:26

X-Tream
Member
From: NRW // Germany
Registered: 2007-07-06
Posts: 21

Re: My personal Arch-diary

Zdravko:

You should read the beginners guide in our wiki. http://wiki.archlinux.org/index.php/Beginners_Guide
It helps you from inserting and booting the Install CD over installing and configurating the system until running a Xserver and a Desktopmanager and it includes many hinds and explanations.
I followed the Guide more than one time and installed Arch thisway on two computers (1 desktop and 1 laptop)
And if you still got problems understanding something you can look into the wiki for other helping pages or torture the forum tongue

if you are done so far, watch out for AUR and yaourt. They may help to install some packages.
and try to install "sudo" wink its more comfortable then switching to root with su. but you should know that from ubuntu ^^

Offline

#34 2008-01-10 06:20:34

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: My personal Arch-diary

X-Tream wrote:

I followed the Guide more than one time and installed Arch thisway on two computers (1 desktop and 1 laptop)

X-Tream: do you have problems with ACPI on GX700 ?


Zygfryd Homonto

Offline

#35 2008-01-10 06:31:09

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: My personal Arch-diary

Correct me of I am wrong, which I don't think I am, partion 101, you can't have two primary partitions, 1 primary only with 1 active partion only. I know he already got it installed, but that may have been the original issue.

Offline

#36 2008-01-10 07:43:40

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: My personal Arch-diary

twiistedkaos wrote:

Correct me of I am wrong, which I don't think I am, partion 101, you can't have two primary partitions, 1 primary only with 1 active partion only. I know he already got it installed, but that may have been the original issue.

you can have 4 primary partitions
if you want more than 4 at all then 3 primary and 1 extended and then on this extended tens of logical partitions ;-)
i.e.:
/dev/sda1 - primary
/dev/sda2 - primary
/dev/sda3 - primary
/dev/sda4 - extended

and then:
/dev/sda5 - logical
/dev/sda6 - logical
/dev/sda7 - logical
/dev/sda8 - logical
.....

for linux it does not matter which is active


Zygfryd Homonto

Offline

#37 2008-01-12 11:05:40

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

Currently I have exams before me, and unfortunately, I will have to abandon ArchLinux for quite a while. I would like, however, to continue browsing this interesting forum smile


The future belongs to those who believe in the beauty of their dreams.

Offline

#38 2008-01-12 11:08:22

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: My personal Arch-diary

Zdravko wrote:

Currently I have exams before me, and unfortunately, I will have to abandon ArchLinux for quite a while. I would like, however, to continue browsing this interesting forum smile

Why? Do you need some Windwos Applications? If that is your problem try the magnificent wine wink

# pacman -Sy wine
$ winecfg
$ wine /path/to/exe.exe

(It's a bit lame to talk to you in english since we're both Bulgraians...)

Last edited by Dheart (2008-01-12 11:09:44)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#39 2008-01-12 11:30:25

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

Dheart, здрасти! smile
In a month or so, I will have more time to kill with Arch. Now, I'd stick to Windows and study these damn ppt's!

Btw, Арч е най-доброто дистро, което съм опитвал досега! smile


The future belongs to those who believe in the beauty of their dreams.

Offline

#40 2008-01-12 12:59:43

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: My personal Arch-diary

Знам ;) Пиши като се върнеш, всички ще те чакаме ;)
I know ;) Write when you come back - we'll all be waiting for you ;)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#41 2008-01-12 13:09:08

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: My personal Arch-diary

Exams are a foolish excuse!


I need real, proper pen and paper for this.

Offline

#42 2008-01-16 19:09:36

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

Okay. The Programming exam just passed. The rest is more or less peace of cake.
Now there is nothing but Vista on my laptop. How do I set up dual-boot with Arch once again? This time the whole HDD is devoted to Vista, so I guess I have to somehow shrink Vista's data?


The future belongs to those who believe in the beauty of their dreams.

Offline

#43 2008-01-16 19:41:06

barry
Member
Registered: 2007-11-27
Posts: 39

Re: My personal Arch-diary

Gparted has a live cd that will let you resize your partitions. It can take a while to complete the resize though, it may be worth leaving it running when you go to bed.

http://gparted-livecd.tuxfamily.org/

Offline

#44 2008-01-16 19:53:12

Wilson Phillips
Member
From: Vicksburg, MS, USA
Registered: 2007-09-24
Posts: 70

Re: My personal Arch-diary

You must set Windows to run with no Paging File so that you will be able to resize the NTFS partition that you have now. After turning off the Paging File, reboot and run Defrag on the drive a few times before you boot up from the GParted live CD and resize the partition. Once you have resized it, then you can go back into Windows and re-enable the Paging File.


Guarantee does not cover shark bite, bear attack, or children under 5.

Offline

#45 2008-01-17 06:57:31

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

Ok, I will see what I can do wink


The future belongs to those who believe in the beauty of their dreams.

Offline

#46 2008-01-17 07:00:28

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: My personal Arch-diary

defrag a few times? lol. that's gonna take a long time.


I need real, proper pen and paper for this.

Offline

#47 2008-01-17 07:44:03

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

Actually, it shouldn't. Only the first defrag will take a long time. Each subsequent defrag will complete faster than the previous one, since there will be less and less work to do.
10 minutes by the first defrag so far and still going...


The future belongs to those who believe in the beauty of their dreams.

Offline

#48 2008-01-17 10:50:20

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

The gparted liveCD is not working for me. After booting it an error message on the console appears:

invalid loop location /gparted.dat
please export loop with a valid location , or reboot and pass a proper loop=...

/bin/ash: can't access tty; job control turned off


The future belongs to those who believe in the beauty of their dreams.

Offline

#49 2008-01-17 12:40:21

khalderon
Member
Registered: 2008-01-03
Posts: 70

Re: My personal Arch-diary

barry, the user who suggested me gparted, must also tell me how to make it run properly. I searched for my problem and it appeared that it is a large bug in the application. I just wonder why isn't it fixed yet? I tried several combinations of boot parameters (sg0, sr0), but none really worked. Even setting the IDE mode in BIOS didn't help. At least I learned something - gparted is completely useless and non-operational with lots of bugs, that never get resolved.
Anyway, tell me what to do then?


The future belongs to those who believe in the beauty of their dreams.

Offline

#50 2008-01-17 13:06:49

barry
Member
Registered: 2007-11-27
Posts: 39

Re: My personal Arch-diary

I've never encountered that problem before when using the gparted live CD so unfortunatly I can't help out with that one. Google returns a decent amount of pages when I searched for the problem so I imagine that someone must have figured out howe to fix it. Sadly, I don't have time to look into it for you.

Offline

Board footer

Powered by FluxBB