Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-23-2006, 01:00 AM
|
#1
|
Member
Registered: Mar 2005
Location: Illinois, US
Posts: 38
Rep:
|
Installing 10.2 on SATA
boot: sata.i
I created:
/dev/sda1 (1Gb) 82 Swap linux
/dev/sda2 (Remaining hd space) 83 Linux
Ran 'setup':
Selected partition, formatted with reiserfs filesystem, selected what group of packages to install, and then told it to install from CD.
Everything went fine until the actual package installation, it just couldn't install them by saying that they were either corrupt, or there was something else preventing them from being installed.
I checked the ISQ's md5sum and it was fine, I tried reburning another CD, but that didn't help.
Can somebody please help out?
Last edited by kosmonaft; 03-23-2006 at 01:14 AM.
|
|
|
03-23-2006, 02:17 AM
|
#2
|
Member
Registered: Aug 2002
Posts: 150
Rep:
|
It is hard to tell what is going wrong without an exact error message. You could look if the CD is correctly mounted, you can do this by doing the following steps after the step which mounts the CD-ROM:
- Press Alt + F2
- Log in
- Execute "ls /var/log/mount", and you should see the contents of the Slack CD, and the disksets (a/, ap/, etc.) should be shown if you do a "ls /var/log/mount/slackware"
- You can go back to setup with Alt + F1.
There is a small chance that another CD is mounted if you have more than one CD-ROM drive. It would also help if you can check the output of "mount" and "df", and look whether the partitions are correctly mounted during the setup, and if there is enough free disk space.
|
|
|
03-23-2006, 07:12 AM
|
#3
|
Member
Registered: Mar 2005
Location: Illinois, US
Posts: 38
Original Poster
Rep:
|
ls /var/log/mount returns nothing
ls /var/log/mount/slackware: No such file or directory
mount:
/dev/fd2 on type ext2 (rw)
proc on /proc type proc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
df:
Filesysmte: /dev/fd2
1k-blocks: 6340
Used: 5948
Available: 69
Use%: 99
Mounted on: /
fdisk -l:
/dev/sda1 1 125 1004031 82 Linux swap
/dev/sda2 126 19452 155244127+ 83 Linux
The same error I get for the packages it can't install is:
"There was a fatal error attempting to install /var/log/mount/slackware/a/package-name.tgz. The package may be corrupt, the installation media may be bad, or something else has caused the package to be unable to be read without error. You may hit enter to continue if yuou wish, but if this is an important required package then your installation may not work as-is"
Notice, that I get to this part only after the 'setup' program automatically scanned and detected cd-rom device containing slackware. Prevous command you told me to execture shows that there is no /var/log/mount/slackware .. I only have one CD-rom , too
|
|
|
03-23-2006, 07:35 AM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Try to copy some files into your hard drive and check if copying also gives you error.
|
|
|
03-23-2006, 02:02 PM
|
#5
|
Member
Registered: Mar 2005
Location: Illinois, US
Posts: 38
Original Poster
Rep:
|
Ok, I could try copying some files from cdrom onto my hd. How do I find out what my cdrom device is, how do I access it?
|
|
|
03-23-2006, 03:40 PM
|
#6
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
If it is ide primary master then hda, primary slave - hdb, secondary master - hdc, secondary slave - hdd, ...
BTW, when Slackware (setup) automounts your cdrom, you could get the info with mount command.
Last edited by Alien_Hominid; 03-23-2006 at 03:41 PM.
|
|
|
03-23-2006, 07:16 PM
|
#7
|
Member
Registered: Mar 2005
Location: Illinois, US
Posts: 38
Original Poster
Rep:
|
Ok, so should I do this and see if it works?
mkdir /mnt/cdrom
mount /dev/hda /mnt/cdrom
cp /mnt/cdrom/slackware/a/package_name /tmp
What happens if it works, or if it doesn't? What could it mean?
|
|
|
03-27-2006, 08:24 AM
|
#8
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
If you could copy them, then your files aren't corrupt. You can even try to explodepkg to see if all files inside are correct. If you couldn't, there is problem with your disk.
|
|
|
All times are GMT -5. The time now is 12:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|