Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install network problem. dev.SWAP [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1107
Location: Tri-Cities, WA USA

PostPosted: Mon Dec 28, 2015 1:56 pm    Post subject: New install network problem. dev.SWAP [solved] Reply with quote

I've installed the tarball on a Samsung SSD
I used parted to create my partitions.

I also noticed this thread:
https://forums.gentoo.org/viewtopic-p-7561066.html
I'll do some checking here.

Question? This is my fstab. Could the redundant reference cause the problem?


Code:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT               /boot           ext2            noauto,noatime  1 2
/dev/ROOT               /               ext4            noatime         0 1
/dev/SWAP               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0

#cwc
/dev/sda2   /boot        ext2    defaults,noatime     0 2
/dev/sda3   none         swap    sw                   0 0
/dev/sda4   /            ext4    noatime              0 1
/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0




fdisk -l
Code:

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4AB42E0A-621F-4270-B90A-01ED5D38149D

Device        Start       End   Sectors   Size Type
/dev/sda1      2048      6143      4096     2M BIOS boot
/dev/sda2      6144   1054719   1048576   512M EFI System
/dev/sda3   1054720  68163583  67108864    32G Linux filesystem
/dev/sda4  68163584 976771119 908607536 433.3G Linux filesystem


I get the following journalctl error:

Code:


 dev-SWAP.device: Job dev-SWAP.device/start timed out.
Dec 28 05:23:52 ciclo systemd[1]: Timed out waiting for device dev-SWAP.device.
Dec 28 05:23:52 ciclo systemd[1]: Dependency failed for /dev/SWAP.
Dec 28 05:23:52 ciclo systemd[1]: dev-SWAP.swap: Job dev-SWAP.swap/start failed with result 'dependency'.
Dec 28 05:23:52 ciclo systemd[1]: dev-SWAP.device: Job dev-SWAP.device/start failed with result 'timeout'.
Dec 28 05:27:08 ciclo systemd[1]: Starting Cleanup of Temporary Directories...
Dec 28 05:27:08 ciclo systemd[1]: Started Cleanup of Temporary Directories.
Dec 28 05:29:04 ciclo polkitd[1974]: Registered Authentication Agent for unix-process:2056:102275 (system bus name :1.27 [/usr/bin/pkttyagent --notif
Dec 28 05:29:04 ciclo systemd[1]: Reloading.
Dec 28 05:29:04 ciclo systemd-fstab-generator[2067]: Failed to create mount unit file /run/systemd/generator/boot.mount, as it already exists. Duplic
Dec 28 05:29:04 ciclo systemd-fstab-generator[2067]: Failed to create mount unit file /run/systemd/generator/-.mount, as it already exists. Duplicate
Dec 28 05:29:04 ciclo systemd-fstab-generator[2067]: Failed to create mount unit file /run/systemd/generator/mnt-cdrom.mount, as it already exists. D
Dec 28 05:29:04 ciclo systemd[2060]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with error code 1.
Dec 28 05:29:04 ciclo polkitd[1974]: Unregistered Authentication Agent for unix-process:2056:102275 (system bus name :1.27, object path /org/freedesk



_________________
Without diversity there can be no evolution:)


Last edited by cwc on Mon Dec 28, 2015 7:06 pm; edited 2 times in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Mon Dec 28, 2015 2:07 pm    Post subject: Reply with quote

linux fs: id:83
linux swap: id 82
your swap is a linux fs partition and not a swap partition.

no idea about systemd, i suppose it might be enough to solve its complains.
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1107
Location: Tri-Cities, WA USA

PostPosted: Mon Dec 28, 2015 2:34 pm    Post subject: Reply with quote

krinn wrote:
linux fs: id:83
linux swap: id 82
your swap is a linux fs partition and not a swap partition.

no idea about systemd, i suppose it might be enough to solve its complains.


Thank you Krinn.

I removed the lines:
/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext4 noatime 0 1
/dev/SWAP none swap sw 0 0

and all booted a bit better. I feel I still need better syntax in my fstab,

I don't understand?
Code:

linux fs: id:83
linux swap: id 82

_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Mon Dec 28, 2015 2:42 pm    Post subject: Reply with quote

Code:
Device     Boot    Start       End   Sectors  Size Id Type
/dev/sda1  *        2048    411647    409600  200M 83 Linux
/dev/sda2         411648  14747647  14336000  6.9G 82 Linux swap / Solaris


that's partition type numbers, something you might have set wrong, but i see now that you just don't have any with gpt.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Mon Dec 28, 2015 3:54 pm    Post subject: Reply with quote

cwc,

Code:
/dev/BOOT               /boot           ext2            noauto,noatime  1 2
/dev/ROOT               /               ext4            noatime         0 1
/dev/SWAP               none            swap            sw              0 0


These entries need to be removed/commented out.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1107
Location: Tri-Cities, WA USA

PostPosted: Mon Dec 28, 2015 4:24 pm    Post subject: Reply with quote

This is all I have in my /etc/fstab and my system boots.

/dev/sda2 /boot ext2 defaults,noatime 0 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext4 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,user 0 0

Now I need to figure out the nic and gdm :)

Krinn,

I thought I followed:
https://wiki.gentoo.org/wiki/GRUB2#BIOS_with_GPT
I used parted to partition my ssd.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum