LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2018, 04:55 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Downloading sys-freedos.pl.


Alright, not Slackware. But I'm used to post here. There's a linux utility called sys-freedos.pl. It's a pearl script. If I want to download it, there only one option presented by Google, and this option directs me to github, where I have no other alternative than copy and paste the source text. Is that possible?
 
Old 05-28-2018, 05:01 PM   #2
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by stf92 View Post
Alright, not Slackware. But I'm used to post here. There's a linux utility called sys-freedos.pl. It's a pearl script. If I want to download it, there only one option presented by Google, and this option directs me to github, where I have no other alternative than copy and paste the source text. Is that possible?
If you go to the root of the repository, you will see a link to clone the repo to the upper right. Running "git clone <url>" will fetch a copy of the repo to your computer.

There should also be a link for downloading a .zip (also in the repo root).
 
1 members found this post helpful.
Old 05-28-2018, 05:02 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks a lot.
 
Old 05-28-2018, 05:39 PM   #4
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Alternatively, if it's only one file you want from the git repository, click on it, for example:
https://github.com/chaos/netroot/blo...sys-freedos.pl
And then look for the button "Raw" in the toolbar, click it and then use the resulted URL to download the file:
https://raw.githubusercontent.com/ch...sys-freedos.pl
Code:
cd /your_dir/
wget https://raw.githubusercontent.com/chaos/netroot/master/freedos/sys-freedos.pl
 
Old 05-28-2018, 05:46 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
By the way, I must run
Code:
fdisk -l -u /dev/mmcblk0p2
to get something like
Code:
255 heads, 63 secs/track
I need these data to run sys-freedos.pl. However all I get is
Code:
[root@revenge sys-freedos]# fdisk -l -u /dev/mmcblk0p2
Disk /dev/mmcblk0p2: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
[root@revenge sys-freedos]#
Has fdisk changed in these years, for I remember those data are what I got some years ago under slackware (I'm now using Arch Linux)?

EDIT: Of course these are typical data: 255 heads, 63 secs/track has always been, even in modern hard disks (which does not mean there are actually 255 heads) a de facto standard. So if I use those values with sys-freedos most probable is the thing will do well. sys-freedos.pl simulates the MS-DOS SYS command, which made a partition booteable under MS-DOS and copied the system files.

However, perhaps fdisk does not output those parameters because the "hard disk" is in fact an eMMC device.

Last edited by stf92; 05-28-2018 at 05:53 PM.
 
Old 05-30-2018, 09:03 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Earlier thread:

https://www.linuxquestions.org/quest...nk-4175630650/

Last edited by dugan; 05-30-2018 at 09:05 AM.
 
1 members found this post helpful.
Old 05-30-2018, 11:10 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Again - you can't expect relevant answers if you are not using Slackware but expecting us to comment on the tools in another distro. Find the Arch Linux forum and post your questions there. This here is the Slackware forum. Try not to pollute it.
 
1 members found this post helpful.
Old 05-30-2018, 01:33 PM   #8
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Perhaps one way we can assure non-Slackware questions don't get asked here is to be better about looking in the non-Slackware subforums and answering questions there.

I'll try to do that more. Not that everyone should -- I'd love to keep Alien Bob's expertise to ourselves ;-) -- but simple stuff like downloading a github repo anyone can answer.
 
Old 05-30-2018, 01:38 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
It was answered right here. He ignored the answer and instead followed up with "casting blame is unhelpful."

https://www.linuxquestions.org/quest...0/#post5860607
 
Old 05-31-2018, 05:25 PM   #10
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by dugan View Post
He ignored the answer and instead followed up with "casting blame is unhelpful."
Err, that was me actually.
 
1 members found this post helpful.
Old 06-01-2018, 10:04 AM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by dugan View Post
I was asking a question about fdisk (post #5), did you not notice?
 
Old 06-01-2018, 10:20 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by stf92 View Post
I was asking a question about fdisk (post #5), did you not notice?
... and dugan was referring to your original post in this thread where you duped the question. Don't try to talk yourself out of this.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whats the difference between /proc/sys and /sys sigint-ninja Linux - Newbie 1 01-15-2015 10:38 PM
system not display /sys/ folder....in kernel compile how to enable sys in menuconfig dashang.trivedi Linux - Kernel 1 07-14-2011 05:00 AM
What is the prime difference between Sys 3,Sys V and System7 version of UNIX vinnie_vinodh Other *NIX 2 11-16-2010 06:01 AM
[SOLVED] Need to manually re-install sys-lib/com_err and sys-lib/ss matsvw Gentoo 4 08-02-2009 11:17 AM
Is a Linux sys w/o any passwd's as secure as a microsoft windows sys w/no passwd? t3gah Linux - Security 4 04-22-2005 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration