You are not logged in.
Pages: 1
Hi. I just installed the latest official archlinux 86_64 iso on my second sata.
I reboot and I saw that I dont have internet access so tried to dhcpcd and didnt work.
So I tried to edit some files, as root, like /etc/rc.conf but I get error when I try to save the changes that I make. Read-only file..
Help the noob please!
Last edited by manolos (2012-09-17 12:42:11)
Offline
have you installed sudo?
if not install it and then go to tty1 by pressing ctl+alt+F1 at the same time.
log in as root there and type visudo and hit enter.
this will open/create the sudoers file and edit it as needed.
check the sudo wiki for options.
when prompted save the file and reboot.
Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!
Offline
have you installed sudo?
if not install it and then go to tty1 by pressing ctl+alt+F1 at the same time.
log in as root there and type visudo and hit enter.
this will open/create the sudoers file and edit it as needed.
check the sudo wiki for options.
when prompted save the file and reboot.
that will be dificult to me cause its not installed. i dont know much about mount a usb (if i download and put a package of sudo in it) and install a package without pacman on internet connection. can you please direct me to links or something?
Offline
If you're already logged in as root, sudo is irrelevant.
What is the output of "mount"?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
damn.. maybe i did something wrong with grub couse the hole filesystem is read-only.. anything to solve this mistake?
EDIT i see "ro" in /boot/grub/grub.cfg
EDIT2 # mount -n -o remount,rw / did the thing but how can make it permanent?
Last edited by manolos (2012-09-16 16:01:57)
Offline
Hi. I just installed the latest official archlinux 86_64 iso on my second sata.
And which ISO is that? Because the latest official release is dual architecture, not just x86_64.
What, exactly, are you trying to do? Follow the Beginners' Guide and you should be fine.
https://wiki.archlinux.org/index.php/Be … uide#Wired
https://wiki.archlinux.org/index.php/Be … e#Wireless
https://wiki.archlinux.org/index.php/Be … em_or_ISDN
Do you even know what type of internet connection you have?
Dynamic IP? Do you use a username and a password? That would be PPPoE.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Check your fstab entry for your root partition. Ignore the ro in grub; that's there so the partition can be safely fscked (if needed).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
i use wired and i cant configure my eth0.. on the installation i had internet connection without configuring something. i chose from the dual archs the 64bit version. ill check fstab
Last edited by manolos (2012-09-17 02:53:43)
Offline
Check your fstab entry for your root partition. Ignore the ro in grub; that's there so the partition can be safely fscked (if needed).
fstab looks fine but i see that there is a slash only on /mnt and /tmp. also on startup i get error that the mnt is busy so it mounts /
Offline
damn it im so angry. on virtualbox everything was fine. on my desktop i get so much errors.. if you cant help me ill reinstall and ill close my noob topic. i miss old easy installer
Offline
Are you sure you followed the installation procedure correctly? Could you have forgotten to specify /mnt as the root filesystem when running genfstab? Or is /mnt something that you want to be mounded there?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Post your fstab.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
that will be dificult to me cause its not installed. i dont know much about mount a usb (if i download and put a package of sudo in it) and install a package without pacman on internet connection. can you please direct me to links or something?
On a Linux machine with Internet: Log as root and create a directory in /mnt (e.g. /mnt/usb). Plug the usb device and run 'ls /dev | grep sd' to find the right block device. For example my flash drive usually shows up as sdb1. Then mount the device to the new directory with:
mount /dev/sdX /mnt/usb
where sdX is the block device and usb is the folder name.
Then, to install sudo on your offline box:
Download the latest sudo (x86_64) package here. Copy the tar.xz archive to the mounted usb device. Unmount. Plug into the offline computer. Go through the steps listed above to mount the device. Finally:
pacman -U /path/to/sudo/package/ending/with/tar.xz
P.s. Errors are expected, this distro is not for the faint-hearted.
"The problem is, after a week of intense googling, we’ve started to burn out on knowing the answer to everything. God must feel that way all the time. I think people in the year 2020 are going to be nostalgic for the sensation of feeling clueless." Douglas Coupland - jPod
Offline
@ximun,
Did you not read WorMzy's post? The OP is already logged in as root. There is no need to install sudo and installing sudo will not resolve the issues the OP is experiencing. sudo is irrelevant. It is not needed here.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Post your fstab.
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sdb2 /mnt ext4 rw,relatime,data=ordered 0 2
/dev/sdb1 boot ext4 rw,relatime,data=ordered 0 2
/dev/sdb5 var ext4 rw,relatime,data=ordered 0 2
/dev/sdb6 home ext4 rw,relatime,data=ordered 0 2
Offline
Hi. I just installed the latest official archlinux 86_64 iso on my second sata.
And which ISO is that? Because the latest official release is dual architecture, not just x86_64.
What, exactly, are you trying to do? Follow the Beginners' Guide and you should be fine.
https://wiki.archlinux.org/index.php/Be … uide#Wired
https://wiki.archlinux.org/index.php/Be … e#Wireless
https://wiki.archlinux.org/index.php/Be … em_or_ISDNDo you even know what type of internet connection you have?
Dynamic IP? Do you use a username and a password? That would be PPPoE.
everythings fine with internet access thank you. the filesystem problem resists...
Last edited by manolos (2012-09-17 02:55:10)
Offline
*puzzled*
Your root partition isn't in fstab?
I'm a bit surprised this boots at all. I suppose the root partition is never remounted during the init process, but it remains mounted read-only from your boot loader. Add your root partition to fstab so it is remounted normally during init.
Last edited by Trilby (2012-09-17 01:51:50)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
*puzzled*
Your root partition isn't in fstab?I'm a bit surprised this boots at all. I suppose the root partition is never remounted during the init process, but it remains mounted read-only from your boot loader. Add your root partition to fstab so it is remounted normally during init.
Like This?
/dev/sdb4 root ext4 rw,relatime,data=ordered 0 2
EDIT there is no sdb4 should i resize a partition and add to make it root? there are only sdb1,2,3swap,5,6
Last edited by manolos (2012-09-17 02:13:43)
Offline
*puzzled*
Your root partition isn't in fstab?I'm a bit surprised this boots at all. I suppose the root partition is never remounted during the init process, but it remains mounted read-only from your boot loader. Add your root partition to fstab so it is remounted normally during init.
https://www.dropbox.com/s/6dzyqzkystyey … 054810.jpg
check out the error on /mnt
Offline
So sdb2 is your root partition? That screen photo would suggest that it is. If so, then why are you trying to mount it as /mnt?
You should also not mount it as "root". Mount it as follows:
/dev/sdb2 / ext4 rw,relatime,data=ordered 0 1
*note I'm not familiar with all those mount options but the relevant part for the present discussion is the second column. I aslo changed the last 2 to 1 which it should be for the root partition (AFAIK).
Edit: is there also an sdb7 in your fstab? It is being fsck'ed.
Last edited by Trilby (2012-09-17 03:00:04)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
So sdb2 is your root partition? That screen photo would suggest that it is. If so, then why are you trying to mount it as /mnt?
You should also not mount it as "root". Mount it as follows:
/dev/sdb2 / ext4 rw,relatime,data=ordered 0 1
*note I'm not familiar with all those mount options but the relevant part for the present discussion is the second column. I aslo changed the last 2 to 1 which it should be for the root partition (AFAIK).
Edit: is there also an sdb7 in your fstab? It is being fsck'ed.
thanks for helping me. i made a partition sdb7 if i ever needed. if i change it to-> /dev/sdb2 / ext4 rw,relatime,data=ordered 0 1 then what do i do with /mnt?
Offline
WTF is /mnt?
What is your partitioning scheme? Do you have a separate partition for /mnt? Is that sdb7?
Sorry if this sounded abrupt - but we can help with making sure your fstab is appropriately formatted to do what you want it to do - but you first have to be clear on what you want it to do. If you could describe your parition scheme (all the partitions, which ones arch should use, and what each one is for) then this will be much easier to clarify.
I doubt /mnt is a separate partition. I could be - but that would seem rather foolish to me as it is a directory that is designed to not actually store anything - it is a mount point for *other* partitions (flash drives and the like). In every arch setup I've seen /mnt is just a directory on the root partition. Are you confusing names/terminology?
Last edited by Trilby (2012-09-17 03:28:35)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
WTF is /mnt?
What is your partitioning scheme? Do you have a separate partition for /mnt? Is that sdb7?
Sorry if this sounded abrupt - but we can help with making sure your fstab is appropriately formatted to do what you want it to do - but you first have to be clear on what you want it to do. If you could describe your parition scheme (all the partitions, which ones arch should use, and what each one is for) then this will be much easier to clarify.
i have no f-idea!! dont yell at me LOL!! hahaha ok that worked!!! thank you very much sir
Offline
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sdb2 /mnt ext4 rw,relatime,data=ordered 0 2
/dev/sdb1 boot ext4 rw,relatime,data=ordered 0 2
/dev/sdb5 var ext4 rw,relatime,data=ordered 0 2
/dev/sdb6 home ext4 rw,relatime,data=ordered 0 2
That is not a proper fstab. Read the fstab wiki page for examples. You don't need "rw" and "data=ordered" in there, and they don't all need "2" at the end. Also, your mount points are messed up. They need to be /boot, /, /var, /home. Not like they are now.
Use a "live" Linux distribution, mount the root partition to /mnt and run:
# nano /mnt/etc/fstab
Then make them look like the examples, and don't forget to mark the topic as solved (by editing the first post).
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Pages: 1