Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot create symlink to '.'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
shinobSS
n00b
n00b


Joined: 23 Aug 2002
Posts: 62
Location: Dallas, TX

PostPosted: Tue Oct 15, 2002 4:10 pm    Post subject: cannot create symlink to '.' Reply with quote

Hiya

Recently my server died after an unexpected power outage..so I figured it was time to give the 1.4 rc_1 a shot.

Here's my problem..I opted to go with a stage 3 tarball to save myself some time in getting everything up and running again, but when I untar it ( with tar -xvjpf) it gets to ./boot/boot and errors out with this:

Code:

tar: ./boot/boot: cannot create symlink to '.': Read-only file system ./boot/grub/


and then it lists a buncha stuff that it has tried installing to ./boot, all which fails.

I've tried chmodding ./boot to 777, but get

Code:
chmod: changing permissions of 'boot':read-only file system


any ideas on how to fix this? I'd like to boot my system :wink:

Thanks
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Tue Oct 15, 2002 4:24 pm    Post subject: Boot partition is available? Reply with quote

Have you created and mounted your boot partition to /mnt/gentoo/boot prior to that step? And you are in /mnt/gentoo/ before issuing the tar command?
Back to top
View user's profile Send private message
elzbal
Guru
Guru


Joined: 31 Aug 2002
Posts: 364
Location: Seattle, WA, USA

PostPosted: Tue Oct 15, 2002 4:28 pm    Post subject: Reply with quote

It sounds like the /boot is mounted as read-only. You will need to mount it as read-write in order to do anything with it.


Also... have you done the chroot step to make sure you are in your new Gentoo environment, as opposed to the CD?


Last edited by elzbal on Tue Oct 15, 2002 4:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
shinobSS
n00b
n00b


Joined: 23 Aug 2002
Posts: 62
Location: Dallas, TX

PostPosted: Tue Oct 15, 2002 4:28 pm    Post subject: Reply with quote

*nod* I am

As well, I made the boot partition ext2, and the root partition ext3..I dont know if that would cause a problem, but it's more info =)
Back to top
View user's profile Send private message
shinobSS
n00b
n00b


Joined: 23 Aug 2002
Posts: 62
Location: Dallas, TX

PostPosted: Tue Oct 15, 2002 4:40 pm    Post subject: Reply with quote

Arighty..was able to fix it by doing this:

Unmounted my boot partition, and deleted the folder. then recreated it, remounted the partition, and made a directory for Grub. Untarred the stage 3 tarball, and no complaints this time!
Back to top
View user's profile Send private message
shinobSS
n00b
n00b


Joined: 23 Aug 2002
Posts: 62
Location: Dallas, TX

PostPosted: Tue Oct 15, 2002 4:53 pm    Post subject: Reply with quote

ok...was a bit too fast on the draw there..turns out I mounted the boot partition to the wrong place...when I correct that, and put it back where it's sposed to be (/mnt/gentoo/boot) and untar again, same problem. Tried removing the partition, making it again, making it ext2, and remounting to the correct boot, then untarballing again: same problem.

As far as being chrooted into gentoo, I cant do that until the stage tarball is successfully unpacked.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Oct 15, 2002 8:16 pm    Post subject: Reply with quote

Is it possible that you have some variant of the "Windows won't leave" problem, also discussed in /boot keeps mounting as vfat?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Wed Oct 16, 2002 6:29 pm    Post subject: Reply with quote

Quote:
Is it possible that you have some variant of the "Windows won't leave" problem

Ah yes, that old chestnut ... good point. The /dev/zero trick should help, but I favour the usage of the HD manufacturer's supplied low-level format utility which can usually be obtained from their website (with a little bit of hunting around). Such a tool can be beneficial in terms of diagnosing and dealing with surface defects appropriately (i.e. marking them as bad in the firmware, should any be present), which is good for peace of mind, as well as purging any Windows remnants from the disk.

Of course, that's assuming you don't mind scrubbing the whole disk.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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