Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMware systemd build
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
Razor0068
n00b
n00b


Joined: 26 Jul 2016
Posts: 10

PostPosted: Tue Aug 02, 2016 2:06 pm    Post subject: VMware systemd build Reply with quote

I am now attempting my 2rd GenToo build, as I have already built a successful GNOME (non systemd). But now i want utilize systemd and install KDE as my GUI. I have gotten to the first reboot via the GenToo handbook and following along with the instructions here (https://wiki.gentoo.org/wiki/Systemd), but ive hit a snag when booting where it tells me it "cant find operating system".

According to parted, my bios_grub is fat32, my boot is fat16, and my root is ext4. if there is any other info i can provide, please let me know. This systemd build has been slightly confusing, so im sure i missed something along the way.

Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Aug 02, 2016 5:46 pm    Post subject: Reply with quote

Razor0068,

"cant find operating system" is a message from a brain dead BIOS checking for the bootable flag on one of the partitions.

Check that you have the bootable flag set on exactly one partition.
If you are mixing BIOS annd GPT, the bootable flag must be set in the 'protective' MSDOS partition table.

Its a long time since I used VMware, it does have a BIOS of sorts. These days it might even offer a UEFI boot option.
_________________
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
Razor0068
n00b
n00b


Joined: 26 Jul 2016
Posts: 10

PostPosted: Tue Aug 02, 2016 8:27 pm    Post subject: Reply with quote

Neddy,

I am currently using 3 partitions. Using parted and fdisk -l, i get the following results:
Code:
Partition table = gpt
sda1 = Type: BIOS Grub; Flags: bios_grub
sda2 = Type: EFI System; Flags: boot, esp
sda3 = Type: Linux filesystem; Flags: none


I intentionally left out the swap partition this build since I am giving the VM over 2GBs of RAM. I was given a tip that when using that much much RAM, a swap isnt really necessary.

Thanks for your help again by the way Neddy. Maybe one day i can build one that gets past the first reboot haha!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Aug 03, 2016 7:47 pm    Post subject: Reply with quote

Razor0068,

As you have a GPT partition table, unless VMware has a UEFI mode, thu BIOS in the VM cannot see your partition table, so what you have there is of no interest to the BIOS,

When you make a GPT partition table, you also get an MSDOS partition table with one partition that describes the entire drive, or the first 2TiB at least.
Its here that you need to set the bootable flag.

Code:
fdisk -t dos /dev/sda
will let you do that. Set the bootable flag on the partition you find there.
The alternative is to use UEFI mode ... if there is one.

Not having a swap because you have lots of RAM is a fallacy.
The kernel has several ways it can swap, not having a swap just robs it of one way.

Swap is only used to swap out dynamically allocated RAM. It has no permanent home on disk.
Memory contents that have a permanent home on disk can be discarded and reloaded when needed.
In some cases, this may force a write because the data is not yet on disk, in other cases e.g. program code, it can just be dropped.
Not having swap causes the content of dynamically allocated RAM to be retained in RAM, increasing the pressure on the other swapping mechanisms.

If you need more that 512MB swap for anything other than hibernate, you need more real RAM.
_________________
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
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