LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-23-2005, 10:13 PM   #1
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Rep: Reputation: 15
gentoo /boot setup


i thought it was weird that they wanted me to create a /boot partition. so i didnt and did something dodgy. but it worked. apart from the message saying
/dev/hda5 is already mounted. fsck cant continue on startup
or such. im not a wizard at fstab and lilo.conf so i'll put my current files up here and you can try and correct me hehe.
anyway. my linux is located on hda5. and i use ntldr on hda1 for windows.
if its possible to not put wreck my hda1.

boot=/dev/hda5 # Install LILO in the MBR
prompt # Give the user the chance to select another section
timeout=1 # Wait 5 (five) seconds before booting the default section
default=gentoo # When the timeout has passed, boot the "gentoo" section
image=/boot/kernel-2.6.11-gentoo-r9
label=gentoo
read-only
root=/dev/ram0
append="noapic pci=noacpi video=vesafb:mtrr,ywrap,1024x768-32@60 init=/linuxrc ramdisk=8192 real_root=/dev/hda5 udev"
initrd=/boot/initrd-2.6.11-gentoo-r9



--

/dev/hda5 /boot ext2 defaults,noatime 1 2
/dev/hda5 / xfs noatime 0 1
/dev/hda7 none swap sw 0 0
/dev/hda6 /xchange auto defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0

none /proc proc defaults 0 0

none /dev/shm tmpfs defaults 0 0



thankies if you can help me would be great.
 
Old 05-24-2005, 01:45 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Make this line

Code:
/dev/hda5 /boot ext2 defaults,noatime 1 2
look like this or just remove it all together:

Code:
#/dev/hda5 /boot ext2 defaults,noatime 1 2
That should take care of that little problem.

Since it seems you may be new to this, the # makes the line a comment. Basically tells the software that reads the config file to skip that line and go to the next. Us nuts see it but the computer ignores it. That is also why I said you can delete it if you want.

You may also get a response that it is more secure to have /boot on a seperate partition that is not mounted automatically. I run mine on a seperate partition and mounted but it depends on the situation. I'm on dial-up but if I ever get DSL, I won't mount /boot automatically then. It is suposed to make it harder for someone to alter the kernel if they hack in, so I read anyway.

Hope that helps. Bedtime.

Later

 
Old 05-24-2005, 09:13 AM   #3
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
ah heh. havent had anybody hack me to my knowlege yet dont think it will happen.and since i use windows aswell. im morelikely to get attacked then. meh. i'll get back to you if that fstab works. =D thankies.
 
Old 05-24-2005, 10:24 AM   #4
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by dalek
Make this line

Code:
/dev/hda5 /boot ext2 defaults,noatime 1 2
look like this or just remove it all together:

Code:
#/dev/hda5 /boot ext2 defaults,noatime 1 2
That should take care of that little problem.

Since it seems you may be new to this, the # makes the line a comment. Basically tells the software that reads the config file to skip that line and go to the next. Us nuts see it but the computer ignores it. That is also why I said you can delete it if you want.

You may also get a response that it is more secure to have /boot on a seperate partition that is not mounted automatically. I run mine on a seperate partition and mounted but it depends on the situation. I'm on dial-up but if I ever get DSL, I won't mount /boot automatically then. It is suposed to make it harder for someone to alter the kernel if they hack in, so I read anyway.

Hope that helps. Bedtime.

Later


yup that worked. thanks. they shuold at least tell you on the gentoo handbook. i was also thinking of installing without a swap and using a file for it instead.
 
Old 05-24-2005, 12:05 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Well they sort of wrote that thinking that people installing Gentoo would not be noobs. There are a few that just dive right in and install the best and get it over with. lol I got tired of messing with Mandrake and those rpm thingys. Portage is way easier to me.

It seems everybody thinks they are hack proof. There is no such thing as hack proof if it is networked in some way. There is always someone that likes the challenge. I run Linux and have never ran windoze, but I still don't think I'm hack proof, even though I am on dial-up. It's people that think they are so secure that gets hacked the most. I would be careful if I were you. False security does not make you secure.

Glad that worked.

Later


Last edited by dalek; 05-24-2005 at 12:07 PM.
 
Old 05-24-2005, 08:28 PM   #6
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
oh i know im not hack proof. but chances are low
lol what i dont understand is. why slackware can have text gui install and gentoo doesnt :P it looks like alot more people work on gentoo. oh well. at least it had a kernel generator. better then having to do it yourself and not ticking something you need and having to restart
 
Old 05-24-2005, 09:19 PM   #7
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
how could /dev/hda5 be both ext2 and xfs? I like the gentoo install the way it is I learned a lot. I don't think I'm hack proof but I'm paranoid: I have 2 firewalls and I use dial-up. and my wifi uses ppp over ssh inside of 128bit wep.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo DSL setup problems kaega2 Linux - Distributions 2 12-01-2004 08:11 AM
Gentoo Ethernet Setup fitzavig Linux - Networking 1 09-08-2004 12:09 PM
Need help with ethernet setup in Gentoo( During setup proccess) MimiMimi Linux - Distributions 2 07-19-2004 01:34 PM
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 04:28 PM
gentoo net setup stargazer3451 Linux - Networking 3 01-09-2004 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration