Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/boot and / on single partition? [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
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 157
Location: New Mexico, USA

PostPosted: Mon Jun 11, 2012 10:12 pm    Post subject: /boot and / on single partition? [solved] Reply with quote

Hi, I'm trying to install Gentoo on an SD card which runs on a small, diskless machine. No matter what I do I get these errors on boot:

Code:

Freeing unused kernel memory: 428k freed
>> Loading modules
>> Hint: Use parameter scandelay[=seconds] if you need waiting here
>> Activating mdev
>> Determining root device...
!! Block device /dev/sda2 is not a valid root device...
!! Could not find the root block device in .
  Please sepcify another value of: presss Enter for the same, type "shell" for a shell, or "q" to skip...
root block device() :: _


As an example, I have an Ubuntu .iso built especially for this hardware, in which the entire OS is on /dev/sda1, which is ext2. In order to eliminate this and other differences as the reason for above errors, i'd like to try to install /boot and / on the same partition ... can Gentoo be installed on a single partition?

Thanks!


Last edited by ccosse on Tue Jun 12, 2012 5:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4635
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 11, 2012 10:18 pm    Post subject: Reply with quote

Typo? If you have no /boot your root should be sda1.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Jun 11, 2012 10:42 pm    Post subject: Re: /boot and / on single partition? Reply with quote

ccosse wrote:

can Gentoo be installed on a single partition?


Yes, /boot /home and / can be on the same partition :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 157
Location: New Mexico, USA

PostPosted: Mon Jun 11, 2012 10:48 pm    Post subject: Reply with quote

Thank you for your responses! I just knew that Gentoo unmounted /boot after booting, and didn't know what happened if that happened to be / as well ... i.e. would it quietly figure it out or would it be a certain crash? Anyway, I'm going to poke it that way, now, and see if I can get any more clues. Thanks again,
-C
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Jun 11, 2012 11:27 pm    Post subject: Reply with quote

ccosse,

The reason /boot isn't mounted is the noauto in the fstab line. It's not required to mount to boot the machine.

If you want it mounted then just remove noauto :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 157
Location: New Mexico, USA

PostPosted: Tue Jun 12, 2012 4:44 am    Post subject: Reply with quote

[quote="BillWho"
The reason /boot isn't mounted is the noauto in the fstab line. It's not required to mount to boot the machine.
If you want it mounted then just remove noauto
[/quote]

Thanks BillWho. Good to know. I'm going to start another thread in a moment ... hope you can weigh-in on it, regarding the original above error message, but with some new clues ...
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1432

PostPosted: Tue Jun 12, 2012 5:13 am    Post subject: Reply with quote

Just a thought: when you load the kernel the boot loader reads the /boot partition and loads the kernel in memory. When the kernel takes over it has no reason to read the /boot partition. This is why some people only realize that they forget to enable the /boot file system in their kernel when they get around to upgrading.

I hope that this interesting.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Sigma Kappa
n00b
n00b


Joined: 04 Mar 2012
Posts: 45

PostPosted: Wed Sep 18, 2013 8:08 am    Post subject: Reply with quote

I'm going for a dual-boot on a Windows7 machine, so I've shrunk the OS C: disk. Now my entire Gentoo will live on /dev/sda6.
i.e. /boot does actually live inside the root parition /
Now my question i: since I\ll be using EasyBCD to launch grub, should I toggle the boot sign -- * -- for /dev/sda6?
I would say no, because boot option is already toggled for /dev/sda1, where MBR resides.

Sorry for a stupid question ;)
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4109
Location: Removed by Neddy

PostPosted: Thu Sep 19, 2013 10:38 pm    Post subject: Reply with quote

the boot flag is a hangover from earlier implementations of booting systems. its not really needed
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
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