Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425720 - sda3 instead of sda1 http://en.gentoo-wiki.com/wiki/Initramfs
Summary: sda3 instead of sda1 http://en.gentoo-wiki.com/wiki/Initramfs
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 17:56 UTC by Niklas Johansson
Modified: 2012-07-10 18:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Johansson 2012-07-10 17:56:04 UTC
Hey,

I have a question about this guide:
http://en.gentoo-wiki.com/wiki/Initramfs

In the part about:
"Init
The file structure of your initramfs is almost complete."

I am very new to this but would it not be better to change sda1 to sda3 here:

# Mount the root filesystem.
mount -o ro /dev/sda1 /mnt/root

There reason I see is that according to the gentoo handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?chap=4&part=1

sda3 is the root

Partition 	Filesystem 	Size 	Description
/dev/sda1 	ext2 	32M 	Boot partition
/dev/sda2 	(swap) 	512M 	Swap partition
/dev/sda3 	ext3 	Rest of the disk 	Root partition

I am very new to this so maybe I am dead wrong. I just felt it could be something to think about.

Thanks for any help.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-07-10 17:58:38 UTC
gentoo-wiki.com is not controlled by anyone officially related to Gentoo Linux. Since it is a wiki, feel free to change/modify as you see fit.
Comment 2 Niklas Johansson 2012-07-10 18:22:34 UTC
(In reply to comment #1)
> gentoo-wiki.com is not controlled by anyone officially related to Gentoo
> Linux. Since it is a wiki, feel free to change/modify as you see fit.

Thanks for the quick reply. I will modify it but I wonder if I am thinking correctly. I am very new to initramfs and I am not sure that I am right.

What is the meaning, in your opinion, of this line:
mount -o ro /dev/sda1 /mnt/root

Is it to mount the /boot or the /

I have full understanding if you do not want to waste your time on an unofficial wiki, but I just felt it might be more than me that use this wiki.

Sincerely,
N
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2012-07-10 18:30:48 UTC
To discuss wiki pages, it is best to use that wiki's Talk: namespace, like http://en.gentoo-wiki.com/wiki/Talk:Initramfs in this case