I am attempting to extract a portage snapshot from the 2005.0 cd. I am using this command tar -xvjf /mnt/cdrom/snapshots/portage-20050303.tar.bz2 -C /mnt/gentoo/usr. But, I keep getting the error no such file or directory. Your help is appreciated.
Printable View
I am attempting to extract a portage snapshot from the 2005.0 cd. I am using this command tar -xvjf /mnt/cdrom/snapshots/portage-20050303.tar.bz2 -C /mnt/gentoo/usr. But, I keep getting the error no such file or directory. Your help is appreciated.
what is it saying doesn't exist? The snapshot or the /mnt/gentoo/usr? If it's the latter, have you mounted the usr partition? Prolly is in / partition
It says it right after that long name, right before /mnt/gentoo/usr
The /mnt/gentoo/usr is not mentioned in the error. I took the comand right from the Gentoo handbook for x86 for 2005.0 Code listing 13: Extracting a portage snapshot.
I tried mounting /mnt/gento/usr on /dev/hda9, that is where my / partition is. I was told that /mnt/gentoo/usr was not a block device.
Twentieth time was the charm. I don't know why it worked this time, just glad it did.
hehe glad it's workin..... did you maybe get the wrong filename? I always use tab-completion to make sure that i get the right name ;)
Its the other way... /dev/hda9 is the valid block-device, so it would be more like this:Quote:
Originally Posted by budman7
Code:mount /dev/hda9 /mnt/gentoo/usr/
jaboua, that is what I did wrong when trying to mount /usr. I did
mount /mnt/gentoo/usr /mnt/dev/hda9
I knew better too. :oops:
sdousley, I don't know how, but I must have had a mistake somewhere in the line.