Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

/etc/fstab question

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
perlsyntax
n00b
n00b
Posts: 28
Joined: Thu Jan 24, 2008 1:22 pm

/etc/fstab question

  • Quote

Post by perlsyntax » Sat Jan 26, 2008 11:36 pm

after i compile the kernel.I not sure where to put this in my //mnt/gentoo/etc/fsab :?

real_root=dev/$ROOT
Top
manzanares
n00b
n00b
User avatar
Posts: 46
Joined: Thu Jun 17, 2004 11:15 am
Location: Amsterdam
Contact:
Contact manzanares
Website

You don't

  • Quote

Post by manzanares » Sat Jan 26, 2008 11:42 pm

This line does not normally go in the /etc/fstab
Why do you want to add it?
Or is your question/problem already resolved?

Alvaro
Top
perlsyntax
n00b
n00b
Posts: 28
Joined: Thu Jan 24, 2008 1:22 pm

  • Quote

Post by perlsyntax » Sat Jan 26, 2008 11:54 pm

I was just asking the question
Top
ShinyThings
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Tue Jul 03, 2007 5:47 pm
Location: Ontario

  • Quote

Post by ShinyThings » Sun Jan 27, 2008 12:07 am

if you used genkernel or an initrd on your own, it would be a parameter passed to the kernel. So, it would be like this:

Code: Select all

kernel /boot/vmlinuz root=initrd real_root=/dev/sda3
where /dev/sda3 is the root device. If you dont have an initrd, it should just be root=/dev/sda3
Top
perlsyntax
n00b
n00b
Posts: 28
Joined: Thu Jan 24, 2008 1:22 pm

  • Quote

Post by perlsyntax » Sun Jan 27, 2008 12:09 am

So your saying my genkernel did that all for me then?
Top
8086
n00b
n00b
User avatar
Posts: 52
Joined: Wed Dec 12, 2007 6:25 pm

  • Quote

Post by 8086 » Sun Jan 27, 2008 8:28 am

Are you confusing fstab with grub's menu.lst/grub.conf ?
Top
manzanares
n00b
n00b
User avatar
Posts: 46
Joined: Thu Jun 17, 2004 11:15 am
Location: Amsterdam
Contact:
Contact manzanares
Website

fstab vs grub

  • Quote

Post by manzanares » Sun Jan 27, 2008 11:23 am

I think 8086 (peculiar name) is asking the correct question. Aren't you mixing up two things?

real_root=dev/$ROOT is a piece of the line in the GRUB.

In the fstab your only reference to ROOT would be (for example)

Code: Select all

#/dev/BOOT      /boot           ext2            noauto,noatime          1 2
#/dev/ROOT      /               ext3            noatime                 0 1
#/dev/SWAP      none            swap            sw                      0 0
#/dev/cdrom     /mnt/cdrom      auto            noauto,ro               0 0

dev/hdb1       /boot           ext2            defaults,noatime        1 2
/dev/hdb3       /               ext3            noatime                 0 1
/dev/hdb2       none            swap            sw                      0 0
/dev/cdrom      /mnt/cdrom      auto            noauto,ro               0 0
Where the secon uncommented bit is my real fstab.
Hence, you repalce

/dev/ROOT for /dev/{where you installed your base system} usually this will be sda3 or hda3, depending.
Top
pteppic
l33t
l33t
Posts: 781
Joined: Mon Nov 28, 2005 5:24 pm

Re: fstab vs grub

  • Quote

Post by pteppic » Sun Jan 27, 2008 2:54 pm

manzanares wrote:

Code: Select all

dev/hdb1       /boot           ext2            defaults,noatime        1 2
Is there a reason for the lack of /dev in this line? Just curious.
Current Project Thread (myth2avi)
Top
manzanares
n00b
n00b
User avatar
Posts: 46
Joined: Thu Jun 17, 2004 11:15 am
Location: Amsterdam
Contact:
Contact manzanares
Website

Correction FSTAB

  • Quote

Post by manzanares » Sun Jan 27, 2008 3:06 pm

Very sharp! You are right: should be:

Code: Select all

/dev/hdb1
Just an edit error. Thank you.

Manzanares.
Top
perlsyntax
n00b
n00b
Posts: 28
Joined: Thu Jan 24, 2008 1:22 pm

  • Quote

Post by perlsyntax » Sun Jan 27, 2008 3:20 pm

I just did the genkernel and if i am right i need to make a /boot/grub.conf file and i not sure how one will look like. :?
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Sun Jan 27, 2008 9:23 pm

There are examples of /boot/grub/grub.conf in the handbook (one for genkernel and one for non-genkernel):

http://www.gentoo.org/doc/en/handbook/h ... #doc_chap2

Hope that helps.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
8086
n00b
n00b
User avatar
Posts: 52
Joined: Wed Dec 12, 2007 6:25 pm

  • Quote

Post by 8086 » Sun Jan 27, 2008 9:36 pm

perlsyntax wrote:I just did the genkernel and if i am right i need to make a /boot/grub.conf file and i not sure how one will look like. :?
Are you allergic to the gentoo installation handbook?
Top
perlsyntax
n00b
n00b
Posts: 28
Joined: Thu Jan 24, 2008 1:22 pm

  • Quote

Post by perlsyntax » Mon Jan 28, 2008 2:40 pm

yes i am
Top
Post Reply

13 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic