You are not logged in.

#1 2018-02-04 10:57:34

Gunther74
Member
Registered: 2018-01-21
Posts: 31

[Solved] System don't boot, partitions are wrong.

Hi,

I have installed Arch on my server but it wont boot. I did the install over SSH. The debugging will be over SSH aswell. I got access to the server physicaly though if needed.
My /mnt and /mnt/boot are on /dev/sda1 this is a ssd of 120G wich i use 20G as swap on /dev/sda2. /home is on a normal harddisk /dev/sdb1 wich is 1TB
I have rebooted the system with the cd becouse the system hangs. I see the login comming on the screen but no root prompt. I forgot to write down the msg though.
If it is realy needed i can go and recreate that but if it could be solved like this i would be more happy smile

here is my dmsg after the boot with the iso ofcourse.
https://pastebin.com/raw/f88Qe3p2

If anyone could see the problem or put me on the next step it would be verry kind.
Maybe 1 more thing. Before this box had a Mint cinamon running. for some reason it didnt boot anymore after a power fail. I did 2 installs now wich both failed. This pc runs Arch aswell so i know what im doing (kind of a littlebit)

All help welcome,
Thanks in advance,

Last edited by Gunther74 (2018-02-07 18:19:44)

Offline

#2 2018-02-04 12:05:06

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [Solved] System don't boot, partitions are wrong.

Please edit your topic title to describe your problem.

https://wiki.archlinux.org/index.php/Co … ow_to_post

The exact error message(s) you get during boot would be helpful. A vague description of the problem, not so much.

Mod note: moving to NC.


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

#3 2018-02-04 12:50:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [Solved] System don't boot, partitions are wrong.

Indeed, we will need *something* from you:

Gunther74 wrote:

I forgot to write down the msg though...

If anyone could see the problem...

Short of someone here having a truly magical crystal ball, you are going to need to give us a lot more than this.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2018-02-04 13:19:34

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] System don't boot, partitions are wrong.

Allright i will recreate the error later today, or tomorow. I got no physical acces right now.
I will edit the title when i know the message.

Offline

#5 2018-02-05 18:04:52

Blasphemist
Member
From: Colorado
Registered: 2013-01-17
Posts: 160

Re: [Solved] System don't boot, partitions are wrong.

I hope you didn't attempt to use one partition for two mount points. This would at least give you a boot problem. You may need to review partitioning for a UEFI system and how to mount the ESP.


Simple and Open

Offline

#6 2018-02-06 15:26:29

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] System don't boot, partitions are wrong.

actualy its a bios boot but yes i used 1 partition then mkdir /mnt/boot and then mounted that as described in the wiki.
I will recreate the error in a bit, i wasnt able to goto the server yet.

Offline

#7 2018-02-06 15:42:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [Solved] System don't boot, partitions are wrong.

Gunther74 wrote:

i used 1 partition then mkdir /mnt/boot and then mounted that as described in the wiki.

This is definitely the problem.  I'm surprised this could even work, and it's not obvious to me what the end result would actually be.  Best case, the kernel and related files that should be on [sda1]/boot are actually just on [sda1]/ along with the rest of the OS - worse case, none of the OS was actually installed on [sda1] other than the kernel, initramfs, and bootloader files.

You certainly can have a single partition for the root filesystem including /boot, but then you just mount it at /mnt for the installation, you cannot (or should not) mount it again at /mnt/boot.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2018-02-06 15:49:21

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] System don't boot, partitions are wrong.

@Trilby allright so i messed up sad
I wonder if i canfix things without starting over.
Or should i restart anyway?

Offline

#9 2018-02-06 16:31:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [Solved] System don't boot, partitions are wrong.

I'm sure it's fixable without reinstalling.  But we really can't help with that until you provide the information you suggested would be coming.  You also should edit your title as previously instructed.

What, precisely, are the errors? What is actually on  sda1?

Starting from scratch might still be easier though, as we'd not need to sort out exactly how this went wrong, you'd just need to ensure you do it properly the second time.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2018-02-06 16:39:22

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] System don't boot, partitions are wrong.

I will resize my SSD wich is large enough anyway. then i add a partition for /mnt/boot.
I guess formatting will do so the system should be installed fast.
I will reply with updates after that.

Last edited by Gunther74 (2018-02-06 16:43:10)

Offline

#11 2018-02-06 17:49:49

shera10001
Member
Registered: 2018-01-23
Posts: 34

Re: [Solved] System don't boot, partitions are wrong.

If you dualboot with windows, then the Windows boot sector with the bootmanager should be your grub /mnt/boot partition as well. Refer to this post - https://bbs.archlinux.org/viewtopic.php?id=233827 . Ask me any questions here.

Offline

#12 2018-02-06 18:00:07

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] System don't boot, partitions are wrong.

Nope this not a dualboot, i running a dualboot on my laptop though.

I changed the partitions into this now:

sda      8:0    0 111.8G  0 disk 
├─sda1   8:1    0     1G  0 part /mnt/boot
├─sda2   8:2    0    90G  0 part /mnt
└─sda3   8:3    0  20.8G  0 part [SWAP]
sdb      8:16   0 931.5G  0 disk 
└─sdb1   8:17   0 931.5G  0 part /home

Starrting the install now.

Offline

#13 2018-02-07 18:18:11

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] System don't boot, partitions are wrong.

Hey im back again.

My system boots as expected.
So Trilby was right the partitiond where wrong.
Thanks alot for the support!

Greetings

Offline

Board footer

Powered by FluxBB