View previous topic :: View next topic |
Author |
Message |
ccosse Apprentice
Joined: 10 Mar 2004 Posts: 171 Location: Las Vegas, NV
|
Posted: Mon Jun 11, 2012 10:12 pm Post subject: /boot and / on single partition? [solved] |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Mon Jun 11, 2012 10:42 pm Post subject: Re: /boot and / on single partition? |
|
|
ccosse wrote: |
can Gentoo be installed on a single partition?
|
Yes, /boot /home and / can be on the same partition _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
ccosse Apprentice
Joined: 10 Mar 2004 Posts: 171 Location: Las Vegas, NV
|
Posted: Mon Jun 11, 2012 10:48 pm Post subject: |
|
|
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 |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Mon Jun 11, 2012 11:27 pm Post subject: |
|
|
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 _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
ccosse Apprentice
Joined: 10 Mar 2004 Posts: 171 Location: Las Vegas, NV
|
Posted: Tue Jun 12, 2012 4:44 am Post subject: |
|
|
[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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Jun 12, 2012 5:13 am Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
Sigma Kappa n00b
Joined: 04 Mar 2012 Posts: 45
|
Posted: Wed Sep 18, 2013 8:08 am Post subject: |
|
|
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 |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu Sep 19, 2013 10:38 pm Post subject: |
|
|
the boot flag is a hangover from earlier implementations of booting systems. its not really needed _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
|