Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chroot problem with fdisk
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
snorkel
Apprentice
Apprentice


Joined: 14 May 2002
Posts: 206
Location: Milwaukee, WI

PostPosted: Wed Jun 25, 2003 8:26 pm    Post subject: chroot problem with fdisk Reply with quote

using the latest sparc ISO I get up to the chroot part and everything looks good. I then try to get silo going and I get a error saying it cant write to /dev/hdc1 which is my boot partition I setup prior to the chroot.

I then try fdisk and it can't find it either, so I look in /dev/ and lo and behold, no hdc. I exit the chroot and the /dev there has a hdc in dev.

What's up how come I can't access the drives from the chroot?

Thanks,

Tony
Back to top
View user's profile Send private message
snorkel
Apprentice
Apprentice


Joined: 14 May 2002
Posts: 206
Location: Milwaukee, WI

PostPosted: Wed Jun 25, 2003 8:48 pm    Post subject: Re: chroot problem with fdisk Reply with quote

snorkel wrote:
using the latest sparc ISO I get up to the chroot part and everything looks good. I then try to get silo going and I get a error saying it cant write to /dev/hdc1 which is my boot partition I setup prior to the chroot.

I then try fdisk and it can't find it either, so I look in /dev/ and lo and behold, no hdc. I exit the chroot and the /dev there has a hdc in dev.

What's up how come I can't access the drives from the chroot?



Case anyone is intereted I had to do a
mount -o bind /dev /mnt/gentoo/dev

before I entered the chroot, otherwise anything that needed access to the disc would fail.
this was not in the docs by the way.
Back to top
View user's profile Send private message
Blademan
Developer
Developer


Joined: 05 Oct 2002
Posts: 116

PostPosted: Sun Jun 29, 2003 9:35 pm    Post subject: Reply with quote

Which ISO are you using?

Thanks,
_________________
Blademan
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