LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   my first slackware experience not going so well (https://www.linuxquestions.org/questions/linux-newbie-8/my-first-slackware-experience-not-going-so-well-4175474259/)

hegira 08-23-2013 02:42 AM

Astrogeek. Is there a command to find the path to the cdrom? Firerat, I tried that adn it says there is no command "unmount".

astrogeek 08-23-2013 02:44 AM

Quote:

Originally Posted by hegira (Post 5014307)
Astrogeek. Is there a command to find the path to the cdrom? Firerat, I tried that adn it says there is no command "unmount".

It is umount, not unmount.

Firerat 08-23-2013 02:48 AM

Sorry, my fault I shouldn't have used "unmount" in the text

my code box was correct ;)

hegira 08-23-2013 02:53 AM

My bad. Anyway, I did the umount /var/log/mount
and then setup, the same thing is happening though. It just refuses to install the media.

Firerat 08-23-2013 03:40 AM

I'm stuck...

hmm,

I saw mention of USB drive, can you mount that?

need to get some info

save this to USB drive ( as slacklog or something )
Code:

Log="${0}.txt"
for i in /var/log/setup/tmp/SeT*;do
  echo "--$i" >> $Log
  cat $i >> $Log
  echo -e "--$i" >> $Log
done

run setup from start , then

mount the USB
Code:

mkdir /run/USB
mount /dev/sdX1 /run/USB
sh /run/USB/slacklog

that should produce /run/USB/slacklog.txt
ready for upload here

it will show us your setup

don't forget to do
Code:

umount /run/USB
before unplugging it

the sdX bit,,
when you plug in your usb stick ,, type dmesg
you will see
Code:

.. [sdX] Attached SCSI..
probably sdb ( assuming only one hard drive )

I assume only 1 partition on it, adapt if you have more

hegira 08-23-2013 04:16 AM

When I try to run the code in the first code box you gave me, I get millions of lines that all say:

Quote:

sh: -/bin/sh.txt: No such file or directory
I thought I should also mention, then when I enter the last line of that code, the line that says "done", it is not unindented. It only lets that line have the same indentation as the three lines above it (body of for statement). Also, I thought my usb drive was sdb1?

Firerat 08-23-2013 04:38 AM

1 Attachment(s)
yes, the device is sdb, the partition sdb1

/bin/sh.txt?
where did that come from?

the indentation should not matter
anyway, I have attached slacklog.txt
fixed formatting error, and 'log' is now a .log (slacklog.txt.log)


save that to your usb,
mount in slackware installer and run.

Code:

mkdir /run/USB
mount /dev/sdb1 /run/USB
sh /run/USB/slacklog.txt
umount /run/USB

upload slacklog.txt.log here

brianL 08-23-2013 05:03 AM

Quote:

Originally Posted by hegira (Post 5014235)
Sorry for the late response. I wanted to reproduce what happened to I could be as accurate as posisble. What happens next is it brings me to this page:



Then I just choose "A" because there is no option for "full" like it seems there should be from instructions. Then it brings me to this screen:

I've no idea how to solve your USB problem, but:
When you get to the "PACKAGE SERIES SELECTION" screen, don't select or deselect anything. Just hit Enter (OK), that will bring you to the "SELECT PROMPTING MODE" screen, where you can select "FULL".

http://docs.slackware.com/slackware:install

Alien Bob 08-23-2013 05:18 AM

Please note that with "source media" the Slackware installer means "PACKAGE SOURCE".
In other words, you do not need any source code archives. The installer wants you to point it to the location (directory, DVD, ...) where you have the package tree available.

Eric

hegira 08-23-2013 05:31 AM

Firerat, when I try to save the slacklog.txt to the usb stick which has the slachware64 installer on it (that is where it goes, right?), and it gives a copy-error message: "read-only" and does not let me save it there.

Firerat 08-23-2013 05:53 AM

Quote:

Originally Posted by hegira (Post 5014389)
Firerat, when I try to save the slacklog.txt to the usb stick which has the slachware64 installer on it (that is where it goes, right?), and it gives a copy-error message: "read-only" and does not let me save it there.

Ahh, ok
you may need to add a partition and 'format' it, so it would be /dev/sdb2
you can do in SlackwareInstall
Code:

fdisk /dev/sdb
# add new partition
mkfs.ext4 /dev/sdb2

First look at brianL's last post..
basically this is what I was looking for in the SeT* files, what you had/hadn't selected

hegira 08-23-2013 06:02 AM

Sorry it this question is stupid, but it is asking me if the new partition should be extended or primary. I guess it should be extended since we use ext4, bu tjust wanted to check.

brianL 08-23-2013 06:08 AM

I was wondering whether Alien Bob's usbimg2disk.sh script would work from Ubuntu? Maybe not, because Ubuntu uses dash, not bash, as its default shell.
http://www.mirrorservice.org/sites/f...xe-installers/

brianL 08-23-2013 06:10 AM

Quote:

Originally Posted by hegira (Post 5014398)
Sorry it this question is stupid, but it is asking me if the new partition should be extended or primary. I guess it should be extended since we use ext4, bu tjust wanted to check.

Primary if you've got less than 4 partitions, extended if 4 or more, ext4 is the type of filesystem: different thing altogether.

hegira 08-23-2013 06:39 AM

I successfully made the partition, and then I ran the mkfs.ext4 /dev/sdb2 command and that worked as well. Then I took the usb from that computer and plugged it into my other laptop on which I have ubuntu and tried again to copy the slacklog.txt file to it. Nautilus recognized the two partitions immediately -- so I thought that was a good sign, but when I tried to copy the .txt in the new partition, it said permission denied.


All times are GMT -5. The time now is 02:46 AM.