You are not logged in.

#1 2015-04-09 13:32:38

Developer
Member
From: United Kingdom
Registered: 2015-04-08
Posts: 6

What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

So ever since I did a fresh install of Arch Linux, every time it boots up and I select the Grub option it says "A start job is running for /dev/drive/" and shortly after it says timed out and continues onto the login screen as normal.

I have two drives, Windows is on the other one and on the Linux one I have just two partitions, root and swap.
I've tried to do a couple of things such as creating another grub option and setting the root to that ID however it still seems to be occurring. It seems to me that it keeps changing because sometimes when I boot it doesn't do it but it is very rare that it doesn't do the start job.

How can I permanently make the GRUB2 menu boot the correct drive and partitions, both root{ext4} and swap without it having to run a start job every time I boot it up?

Last edited by Developer (2015-04-09 19:02:42)

Offline

#2 2015-04-09 13:45:23

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

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

What is the drive that it waits for?  Obviously it's not your root partition, or the boot process would fail.  So either it is swap, or it is one of the windows partitions.  Check if it is swap: when that fails, do you have swap available?

Please also post your fstab.  I suspect this is one of the Windows drives/partitions that have an (incorrect) entry in your fstab.


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

Offline

#3 2015-04-09 14:06:05

Developer
Member
From: United Kingdom
Registered: 2015-04-08
Posts: 6

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

The issue has been resolved. It was due to the Windows drive name changing from sdb to sda, updated the drive names in fstab and is working fine now.

Offline

#4 2015-04-09 17:29:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-04-09 19:02:03

Developer
Member
From: United Kingdom
Registered: 2015-04-08
Posts: 6

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

jasonwryan wrote:

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.

Ah thanks! was looking for a way to close the thread but didn't have any luck finding how so I thought it would get closed by a moderator of or something along those lines.

Will remember for future threads.

Offline

#6 2015-04-09 19:10:15

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

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

Note that sda,sdb,sdc... names are assigned on a first-come, first-served, per boot basis, so they are not ideal for use in your fstab. Instead, you should use UUIDs or labels.

https://wiki.archlinux.org/index.php/Pe … ice_naming

Last edited by WorMzy (2015-04-09 19:10:29)


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

#7 2015-04-10 13:30:15

Developer
Member
From: United Kingdom
Registered: 2015-04-08
Posts: 6

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

WorMzy wrote:

Note that sda,sdb,sdc... names are assigned on a first-come, first-served, per boot basis, so they are not ideal for use in your fstab. Instead, you should use UUIDs or labels.

https://wiki.archlinux.org/index.php/Pe … ice_naming

The problem is back, the drive names keep changing, how can I use UUID's for the fstab?
I saw something about UUID's above each drive name however, they were commented out. Do I replace the drive name part with the UUID for every drive, so for example:

/dev/sdb1 / ext4   rw,relatime,discard,data=ordered
to
UUID=b411dc99-f0a0-4c87-9e05-184977be8539 /home ext4   rw,relatime,discard,data=ordered

Or do I just uncomment the UUID part? which would leave me with something along the lines of:
UUID=b411dc99-f0a0-4c87-9e05-184977be8539
/dev/sdb1 / ext4   rw,relatime,discard,data=ordered

Offline

#8 2015-04-10 13:36:27

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

Developer wrote:

UUID=b411dc99-f0a0-4c87-9e05-184977be8539 /home ext4   rw,relatime,discard,data=ordered

This.

Remember to add the fifth & sixth fields as well -- see man 5 fstab


Jin, Jîyan, Azadî

Offline

#9 2015-04-10 13:39:14

Developer
Member
From: United Kingdom
Registered: 2015-04-08
Posts: 6

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

Head_on_a_Stick wrote:
Developer wrote:

UUID=b411dc99-f0a0-4c87-9e05-184977be8539 /home ext4   rw,relatime,discard,data=ordered

This.

Remember to add the fifth & sixth fields as well -- see man 5 fstab

UUID=b411dc99-f0a0-4c87-9e05-184977be8539    /    ext4    rw,relatime,discard,data=ordered    0    1, like so? smile

Offline

#10 2015-04-10 13:51:18

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: What's wrong with my Arch linux grub bootup/FSTAB? [Solved]

Looks fine, yes.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB