Skip to content

u/wetpaste

In this archive from Jan 2011 to Apr 2017

0
posts
31
comments
0
media
79
score

what exactly IS the filesystem package and why is it a package?(i kind of get it) also wouldn't using --force overwrite my existing configs in /etc since it seems to contain all sorts of files such as resolv.conf, shadow, profile, passwd, and nsswitch.conf in addition to mtab. I don't understand why --force would overwrite mtab and not any of the other files in /etc that are part of the package, unless it treats mtab differently for some reason.

EDIT: my best guess is that the other files are supposed to NOT be overwritten unless they dont exist, but how should I know that and how would I find out? Does pacman do a hash on the files to see if they are different than default or something(but that wouldn't make sense because you could be upgrading from any version)? Which would explain the mtab thing i guess since the file is different or somebody could very well have made thier own mtab file(lol). I guess my question is: what makes a file a conflict or not?

Oh wait! is it because mtab is not owned by ANY package whatsoever? Meaning it doesn't understand why the file is there in the first place? Okay I think I answered my own question. probably.

EDIT2: I guess I am still confused because how does pacman know to upgrade some files and not config files? I guess that would be easy to code into the installers, but what if you never touch a config file and the default config was subsequently changed in an update, would it overwrite it?

6 points

atime is just a filesystem attribute that records when a file was last accessed.(as opposed to time last modified, which more people are aware of) This turns it off, so unless you have a reason to know when files were last accessed(which can be useful in many situations, but most people don't check), go ahead. I would personally keep it on unless I felt like I was having performance problems, especially on network filesystems and the like.

1 points

how big is sdb1? I'm just wondering because the error messages are saying that it is trying to access blocks further than is allowed, which makes me thing that maybe the partition table is screwed up, like maybe the partition table was reset without actually changing the filesystem structure, so ext3 thinks that files are located outside of the partition. I would mount the drive clean, back it all up into a tarball, reformat the drive and try a different filesystem, and copy everything back. maybe there are only a couple of files that actually are outside of the actual partition and for some reason rtorrent is trying to write to them or read from them. I could be totally wrong and I probably am.

3 points

Okay, Just forget everything that you have done so far let us start at the beginning. /dev/sda1 is your /boot partition, right? Okay, try editing your /boot/grub/menu.lst file directly, skip that /etc/grub.d bullcrap.

title ArchBang
root hd(0,0)
kernel /vmlinuz26 root=/dev/sda2 ro
initrd /kernel26.img

This might work but to be totally honest I am a little bit lost in what your system actually looks like. It could be that ubuntu has grub installed on the root and you are trying to chainload a second copy of grub from archbang, which just does my head in trying to figure out. Try to keep it simple and make sure you are only installing grub from 1 distro. For more info, check out the grub guide here: https://wiki.archlinux.org/index.php/Grub#Installation

If you want an example of how I have my system configured, here is my menu.lst:

# (2) Windows
title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1

# (0) Arch Linux
title  Arch Linux
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26-fallback.img

and here is my partition layout:

/dev/sda5 / (also contains /boot for simplicity) /dev/sda6 /home /dev/sda3 windows /dev/sda2 windows bootloader /dev/sda7 fat32 shared directory

2 points

just back up your home folder with documents and configs, /etc/, and the pacman packages list in a tarball. If you "break" your system, try fixing it in a liveCD environment instead of reinstalling. If you want to mess around with backing stuff up, you need to get a drive to hold everything. Check out partimage to make images of your partitions. Also, back up your partition table with sfdisk, that way, if you accidentally delete a partition or delete the table, you can just copy it back with sfdisk. Trying to manually restore a partition table is a real pain.

1 points

Seriously? By "use arch" what do you actually envision? What do you want to be able to do from the command line that you currently use a GUI for? Do you use any command line editors? the first step would be learning vi, basic shell commands, and some scripting. Use that knowledge to do more interesting things. I would suggest learning screen over ssh. Do all of your configuration of the machine over the local tty or through ssh/screen. definitely NOT impossible, and a lot of people already use their machines that way.

5 points

kde and gnome have a lot of panel applications that are useful as well as configuration utilities. They also add their own daemons that watch for devices being added and ask you what to do with them. Just user-friendly windows like features. To get these features on fluxbox requires additional programs that often require files to be edited in order for them to start up when you log in and give you the behavior you desire.

1 points

Arch is like gentoo in terms of basic configuration and philosophy, but the package management is way different. Gentoo supports almost any processor type, arch is i686 and x86_64. Gentoo repositories are almost all source(there is an openoffice-bin and firefox-bin package for example of an exception), which allows you to choose how you want things installed to a very precise degree, with USE flags for example, say you don't want any qt libraries pulled in, that's easy to control. Large systems can become difficult to maintain if you are constantly updating and installing new software though, but its great for control freaks and for old and unique systems.

EDIT: but let me add. It's better than installing everything from scratch, even though you can get into quite a mess with dependencies sometimes, it is way easier than doing it by hand. For the most part, if you give emerge the right arguments it will pull these in automatically, couple that with revdep-rebuilds and everything should come together cohesively(although sometimes it becomes a loop of packages overriding each other which is annoying if you don't totally understand why it is happening). Also another interesting feature is that most packages have several versions that you can choose from, these are all displayed to you when you want to install something. There are usually a couple very bleeding edge versions that are available for many packages as well but you have to override your configs to add an exception for that package. Sometimes I miss it.

3 points

That's not the problem though. The problem is that anyone who has access to any of the mirrors for the official repositories could change code, and you wouldn't know. Of course just because it's not signed in general doesn't necessarily mean anything, but you now have the problem of trusting the security for each mirror, there is nothing client side to tell whether a package is compromised or not.

6 points

meh, just install it on top of where ubuntu was installed. You can even keep your old home directory. Don't worry about the boot flag, if it worked for ubuntu, it will probably work for arch. You will need to remember to set up the fstab on arch though to reflect how your partitions are mounted(or maybe the installer does it automatically i can't remember)

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.