You are not logged in.
Hi all,
This is my first install of Archlinux. I keep encountering this error message after I write something in the command line:
[ 3430.190253] end_request: I/O error, dev sr0, sector 542716
Also, I'm trying to setup my first partition and file system, around this step:
https://wiki.archlinux.org/index.php/Be … rage_drive
Now, when I get to this step [ https://wiki.archlinux.org/index.php/Be … partitions ] and mount /dev/sda1, I see my old Ubuntu file system (which I'd like to just nuke from orbit and start over.) Did I do something wrong in order to arrive at this step?
Last edited by publicus (2014-01-01 23:54:12)
Offline
In case I missed something, how can I nuke _everything_ on my drive and replace it with an ext4 filesystem mounted at / ? I would like to have just one mount point, no /home.
Offline
Just use one partition. Are you using BIOS or UEFI?
Did you skip https://wiki.archlinux.org/index.php/Be … ilesystems ?
Offline
Just use one partition. Are you using BIOS or UEFI?
I believe it's BIOS, this machine (the one that I'm trying this out on) is about 7 years old.
Did you skip https://wiki.archlinux.org/index.php/Be … ilesystems ?
No, I did not. I did mkfs.ext4 /dev/sda1 and this is the result:
[ 5694.510892] end_request: I/O error, dev sr0, sector 550204
...
[ 5694.522642] SQUASHFS error: squashfs_read_data failed to read block 0xbef0f20
...
zsh: Input/output error: mkfs.ext4
I've cut it down for brevity, I can post the entire contents, but would prefer to do this now (I have to type everything out manually.)
Last edited by publicus (2014-01-01 18:40:48)
Offline
lol, weird. I fire up cgdisk /dev/sda and this is what I see:
Could not load partitions from '/dev/sda'! Aborting!
Ok... but cfdisk seems to read my drive (and the partitions on it) just fine. Is cfdisk an ok tool for this job?
Offline
Could you post the output of `lsblk`.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Could you post the output of `lsblk`.
Sure:
sda 8:0 0 55.9G 0 disk
+sda1 8:1 0 55.9G 0 part
sr0 11:0 1 522M 0 rom /run/archiso/bootmnt
loop0 7:0 0 219.2M 1 loop /run/archiso/sfs/root-image
loop1 7:1 0 1.3G 1 loop
+arch_root-image 254:0 0 1.3G 1 dm /
loop2 7:2 0 1.3G 1 loop
+arch_root-image 254:0 0 1.3G 1 dm /
Offline
Ok, I do have some good news. I finally ran mkfs.ext4 and it made the file system as I expected it to, without any sort of IO errors. This required that I reboot the machine and start from scratch. No idea why, maybe one bit was accidentally incorrectly misread?
Offline
One more question, what is the mirror score associated with each mirror? I see that the Sri Lanka mirror has the highest and one that's in the US has the lowest. What does that mean?
Offline
Where did you find said score?
Offline
prolly there https://www.archlinux.org/mirrors/status/
Offline
Where did you find said score?
When I followed this step:
https://wiki.archlinux.org/index.php/Be … t_a_mirror
I opened mirrorlist with nano and each mirror had a "score" associated with it.
My version of Archlinux is the latest of this writing.
Offline
publicus, please look into editing a post rather than posting consecutively.
Can you post your mirrorlist.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
publicus, please look into editing a post rather than posting consecutively.
I will keep this in mind.
Can you post your mirrorlist.
Not at the moment, to be honest. The list is in a text file on my laptop and I'm typing on my mac, which is a different box completely. After I get everything work I can post it here. However, I imagine that it would be very similar to anyone's mirror list (running archlinux) located in this file: /etc/pacman.d/mirrorlist
Offline
You can create your mirrorlist in a number of ways, mine currently looks like this:
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector -p http -l 5 --sort rate --save /etc/pacman.d/mirrorlist
# When: 2014-01-01 13:12:58 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2014-01-01 13:12:50 UTC
# Last Check: 2014-01-01 13:03:26 UTC
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch
Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
Offline
You can create your mirrorlist in a number of ways, mine currently looks like this:
################################################################################ ################# Arch Linux mirrorlist generated by Reflector ################# ################################################################################ # With: reflector -p http -l 5 --sort rate --save /etc/pacman.d/mirrorlist # When: 2014-01-01 13:12:58 UTC # From: https://www.archlinux.org/mirrors/status/json/ # Retrieved: 2014-01-01 13:12:50 UTC # Last Check: 2014-01-01 13:03:26 UTC Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
I really don't mind having the default mirror list. I was just wondering why they have a number associated with them.
I do have another question. I have only one partition /dev/sda1. I'd like to keep things silly simple and would. Can I make this partition bootable?
Offline
Sure, you can - and should - make it bootable. I have a similar setup, one partition is enough :-)
Offline
Another oddity.
When I reboot (after done installing), I get this hung step (while it's trying to shutdown):
[ *** ] A stop job is running for User Manager for 0
What is User Manager for 0?
Offline
Please search e.g. the forum before posting a question: https://bbs.archlinux.org/viewtopic.php?id=171766
Offline
Please search e.g. the forum before posting a question: https://bbs.archlinux.org/viewtopic.php?id=171766
Ah, so it's a bug.
The other problem that I have is that when I rebooted, my laptop had a german keyboard layout... I checked /etc/locale.gen and the only uncommented value is en_US.UTF-8. Granted, this is my laptop and the keyboard is not the same as what my desktop has, but it the keys should make correctly. When I do locale, I see _all_ of the values with en_US.UTF-8. I checked /etc/environment and the only thing that that file has is comments. /etc/locale.conf has LANG=en_US.UTF-8.
Am I missing something?
Offline
What's the output of 'localectl'? Are you using any DE? If you mean the layout in the tty, what's the output of 'cat /etc/vconsole.conf'?
Offline
What's the output of 'localectl'? Are you using any DE? If you mean the layout in the tty, what's the output of 'cat /etc/vconsole.conf'?
Aaaah, I had it set there as de-latin1 for the KEYMAP (vconsole.conf that is.) I changed it to en-latin1. I'll reboot again and let you know if that fixed it.
Last edited by publicus (2014-01-01 20:48:44)
Offline
Ok, I think I'm all set and have figured most of my installation problems out (at least the basic ones.)
Thanks all!
[edit]
How do I mark this thread "solved"?
Last edited by publicus (2014-01-01 23:29:48)
Offline
How do I mark this thread "solved"?
Edit the title of your first post.
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline