Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
losing settings during install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
loscrs
n00b
n00b


Joined: 10 Jan 2003
Posts: 2

PostPosted: Mon Jan 13, 2003 4:47 pm    Post subject: losing settings during install Reply with quote

I new to gentoo and linux so I may be missing something here
I have downloaded the iso listed in sparc install able to boot ramdisk
setup my ip and route manually
edit the /etc/resolve.conf
at this point when I test everthing works great
able to mount
"mount -t iso9660 -o ro /dev/cdroms/cdrom0 /mnt"
pings to www.gentoo.org still work
then I try to chroot
chroot /mnt/root-sparc64 bin/bash
and lose ability to resolve hostnames , routing is ok as I can still ping by IP.

How do I get hostname resolution back ?
I tried to run nano and edit /etc/resolv.conf but it errors and says directory is read-only which to me sounds correct as I have mounted the cdorm as root trying edit the resolv.conf file now would be trying to write to cdrom ?

anyone run into this before
Back to top
View user's profile Send private message
torradan
Retired Dev
Retired Dev


Joined: 29 Dec 2002
Posts: 52
Location: Niagara Falls, NY

PostPosted: Mon Jan 13, 2003 8:52 pm    Post subject: Reply with quote

i had the same problem when i started..

when i did that, i had to exit from the chroot, and copy /etc/resolv.conf to /mnt/root-sparc64/etc/resolv.conf

and then chroot again, and it worked.

Hope that helps

--Todd
Back to top
View user's profile Send private message
loscrs
n00b
n00b


Joined: 10 Jan 2003
Posts: 2

PostPosted: Tue Jan 14, 2003 4:14 pm    Post subject: still not working ??? Reply with quote

Todd
when you installed did you boot off of cdrom ?
I exited out of chroot but can't copy resolv.conf as
/mnt/root-sparc64/etc/ is the cdrom and gives me the same error that I get when in chroot thatits a read-only filesystem as it is the CD itself that I mounted?

do I have a bad CD that is either missing the resolv.conf or a link of some sort to my existing resolv.conf ?

do you rememenber if you mounted or chrooot it excatly as instructions say?
"# mount -t iso9660 -o ro /dev/cdroms/cdrom0 /mnt
# chroot /mnt/root-\`uname -m\` bin/bash
"

thanks
Back to top
View user's profile Send private message
calmtom
n00b
n00b


Joined: 03 Jan 2003
Posts: 19

PostPosted: Wed Jan 15, 2003 2:38 pm    Post subject: Reply with quote

I ran into the same problem. I just used the ip address of ibiblio.org in the url to get the tar ball (152.2.210.81), extracted it to the root partition of the hard drive, and chroot to that. Then you can just use nano to write a new resolv.conf.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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