View previous topic :: View next topic |
Author |
Message |
shinobSS n00b
Joined: 23 Aug 2002 Posts: 62 Location: Dallas, TX
|
Posted: Tue Oct 15, 2002 4:10 pm Post subject: cannot create symlink to '.' |
|
|
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
Thanks |
|
Back to top |
|
|
474 l33t
Joined: 19 Apr 2002 Posts: 714
|
Posted: Tue Oct 15, 2002 4:24 pm Post subject: Boot partition is available? |
|
|
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 |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Tue Oct 15, 2002 4:28 pm Post subject: |
|
|
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 |
|
|
shinobSS n00b
Joined: 23 Aug 2002 Posts: 62 Location: Dallas, TX
|
Posted: Tue Oct 15, 2002 4:28 pm Post subject: |
|
|
*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 |
|
|
shinobSS n00b
Joined: 23 Aug 2002 Posts: 62 Location: Dallas, TX
|
Posted: Tue Oct 15, 2002 4:40 pm Post subject: |
|
|
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 |
|
|
shinobSS n00b
Joined: 23 Aug 2002 Posts: 62 Location: Dallas, TX
|
Posted: Tue Oct 15, 2002 4:53 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Oct 15, 2002 8:16 pm Post subject: |
|
|
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 |
|
|
474 l33t
Joined: 19 Apr 2002 Posts: 714
|
Posted: Wed Oct 16, 2002 6:29 pm Post subject: |
|
|
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 |
|
|
|