LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-07-2018, 04:40 AM   #76
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625

Quote:
Originally Posted by Lysander666 View Post

If one defines 'complex' as the opposite of 'simple', it makes a bit more sense:


https://en.wikipedia.org/wiki/Unix_p..._of_Simplicity
I am by no means simple person but I don't understand this 'definition'. Actually this 'definition' does not meet requirements of what is 'definition'. Basically 'definition' should refer to notions already being well-defined. Otherwise it is logical error. And this 'definition' is good example of such senseless statement. But it looks cool, sounds cool. So let be it. And is sooo complex - for sure it gave great pleasure its creator to state.
 
Old 12-07-2018, 05:36 AM   #77
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Warning - can of worms irrevocably opened

Quote:
Originally Posted by igadoter View Post
I am by no means simple person but I don't understand this 'definition'. Actually this 'definition' does not meet requirements of what is 'definition'. Basically 'definition' should refer to notions already being well-defined.
The only requirement of a definition is for the subject to be defined, there are no qualifications as to the extent or the simplicity. If a reader does not understand a defintion, this can either be because the subject is not in their sphere of knowledge, lack of linguistic cognition or poor wording on the part of the author.

Let me give you some examples. For instance, here are the current Wikipedia definitions of a lepton and a radical:

Quote:
In particle physics, a lepton is an elementary particle of half-integer spin (spin ​1⁄2) that does not undergo strong interactions.
Quote:
In chemistry, a radical is an atom, molecule, or ion that has an unpaired valence electron. With some exceptions, these unpaired electrons make radicals highly chemically reactive. Many radicals spontaneously dimerize.
Without further research, I have no idea what these mean. But this is not because they are bad definitions necessarily, but because they are not in my area of knowledge.

Now, let's look at the definition of C:

Quote:
C (/siː/, as in the letter c) is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations.
This may make a little more sense to you, it does to me, because this is closer to my area of knowledge. However, there are some parts I don't understand. To the uninitiated though, it may look like complete gobbledygook. I'll try something a little close to home for me, see what you make of it. This is the definition of Çârgâh makam:

Quote:
This makam is thought to be identical to the Western C-major scale, but actually it is misleading to conceptualize a makam through western music scales. Çargah consists of a Çârgâh pentachord and a Çârgâh tetrachord starting on the note Gerdaniye (G). Thus, the tonic is C (Çârgâh), the dominant G (Gerdaniye), and the leading tone B (Bûselik).
Now, I completely understand this, but I imagine a lot of people on this forum wouldn't. It isn't a bad definition because it's accurate and it covers everything nicely, but it may make no sense to you because it's not your area.

The point is that sometimes the notion of "explaining everything to an individual like they're a five year old" doesn't carry much effectiveness, since in order to do so one has to omit so much detail that the essence of the subject is lost. There are certain technical terms that must be employed for the subject to be covered accurately. For instance, there is a Youtube video where a researcher tries to explain blockchain to a small child, and all she's able to transmit is that it's a way of trading on the internet. But that says nothing about blockchain specifically. It doesn't say anything about hashes, ledgers or peer-to-peer, it doesn't even say anything about authentication.

The Wikipedia definition of the simplicity of the Unix philosophy is not a bad definition in my view, because it is not wrong, it is also a simple definition which is straightforward and sensible. It is also quite a good definition of Slackware. I would venture, since I know you are quite an experienced Linux user, that you just don't agree with the statement, but that does not make it a bad definition. Additionally, if you think you can provide a superior definition which retains sufficient meaning while also being more widely-applicable, you can always edit the article appropriately.

Last edited by Lysander666; 12-07-2018 at 06:35 AM.
 
2 members found this post helpful.
Old 12-07-2018, 11:01 AM   #78
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Oh dear! I dd'd that image to my memory stick and it copied over without reporting any errors. But I could not get it to boot, despite selecting usb boot from the BIOS boot menu. Actually from my experience with installing Crux from the same stick, it ought to have booted even without that; my BIOS seems to give priority to usb drives. And before anyone asks, yes I did copy to the whole drive (/dev/sdg) and not to a partition. After all, I've done this before a few times though admittedly only with iso images.

I've just mounted it in LFS out of curiosity and checked the visible contents and they are what I would expect. The syslinux.cfg file shows that I should have got a welcome message followed by a menu of three kernels plus memtest. Instead I got taken straight to my LILO menu on the hard drive.

There were no reported boot errors. The drive was just ignored. I notice that it has an EFI boot directory on it. That makes me wonder if it presupposes EFI and doesn't use the MBR.
 
Old 12-07-2018, 11:03 AM   #79
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
dd it again? Sometimes I get a bad transfer and it works on the second go.
 
Old 12-07-2018, 11:18 AM   #80
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by Lysander666 View Post
dd it again? Sometimes I get a bad transfer and it works on the second go.
Done that already! It was the first thing I thought of. But I've had another idea that would be worth trying: suppose I copy the kernel and initramfs to one of my boot directories and add them to LILO? Then I can boot and run the installer from the hard drive.

Last edited by hazel; 12-07-2018 at 11:19 AM.
 
Old 12-07-2018, 11:28 AM   #81
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You could also try Alien Bob's mini iso. It's a little over double the size and I'm not sure what's different between the two, but maybe this will work better.

http://www.slackware.com/~alien/slackboot/mini/14.2/
 
2 members found this post helpful.
Old 12-07-2018, 11:39 AM   #82
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572

Original Poster
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by bassmadrigal View Post
You could also try Alien Bob's mini iso. It's a little over double the size and I'm not sure what's different between the two, but maybe this will work better.

http://www.slackware.com/~alien/slackboot/mini/14.2/
OK, done that. I'll try it in the morning.
 
Old 12-07-2018, 11:59 AM   #83
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by hazel View Post
..... I notice that it has an EFI boot directory on it. That makes me wonder if it presupposes EFI and doesn't use the MBR.....
This brings up an experience that may or may not have anything to do with your project.
With the last few -current .iso-s I've burned to DVDs, I've had to use the efi option to get it to install.
Let me explain.
I would hit F8 to get the BIOS boot menu. If I picked the DVD drive containing the iso, the installation would start, but eventually fail. It would just stop somewhere along the line.
After a few tries, as I've always done in the past, I noticed the last entry on the BIOS boot menu was for a...
forgotten exactly, but it was labelled something like uefi/name-of-the-DVD-drive-containing-the-iso.
I went with that and the installation was successful.
When it present the elilo menu option I told it to create a standard lilo boot configuration and install it to the MBR.
The installation booted correctly and that is the procedure I've been using every since.
As previously mentioned, this may have absolutely nothing to do with what you are trying to accomplish.

Last edited by cwizardone; 12-07-2018 at 01:06 PM. Reason: Typo.
 
1 members found this post helpful.
Old 12-07-2018, 05:32 PM   #84
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,446
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by hazel View Post
Oh dear! I dd'd that image to my memory stick and it copied over without reporting any errors. But I could not get it to boot, despite selecting usb boot from the BIOS boot menu.
I don't think it works that way. You can't just dd an image to a USB stick and have it boot.

Eric has written a script called 'iso2usb.sh.' You can find it here: http://www.slackware.com/~alien/liveslak/
 
1 members found this post helpful.
Old 12-07-2018, 05:36 PM   #85
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
I was surprised to discover it can indeed work that way. Blew my mind.
 
2 members found this post helpful.
Old 12-07-2018, 06:08 PM   #86
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by rkelsen View Post
I don't think it works that way. You can't just dd an image to a USB stick and have it boot.

Eric has written a script called 'iso2usb.sh.' You can find it here: http://www.slackware.com/~alien/liveslak/
It wasn't Eric's Slackware Live, it was a usb boot image provided by Pat on the install media. The instructions specifically state to use dd.

Code:
(3) Transfer the image file to the USB stick using the 'dd' program.  In the
    example command line below, I am assuming that the USB stick is known as
    '/dev/sdx'.

      dd if=usbboot.img of=/dev/sdx bs=1M

    Be careful about the device name for your USB stick!  The above 'dd' 
    command will wipe out any existing data on the device, so you had better 
    be sure that it is not the SATA hard disk you're targeting!
And you can use dd on the Slackware Live images, the usb stick will just be read only, which means any changes won't survive a reboot. To enable persistence, you would need to the script you mentioned, iso2usb.sh.
 
1 members found this post helpful.
Old 12-07-2018, 06:49 PM   #87
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,446
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
You could also use the usbimg2disk.sh script in the same directory, which was also written by Eric.

I've had good success with it in the past.
 
Old 12-07-2018, 07:00 PM   #88
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by rkelsen View Post
I don't think it works that way. You can't just dd an image to a USB stick and have it boot.
That's not been my experience. I've dd'ed many an ISO image to USB and it booted just fine. The command I've always used was:

Code:
dd if=<name_of_dvd_image.iso> of=/dev/<sdX> bs=4M status=progress
NOTE!!!! Do not use partition numbers; for example, /dev/sdd1. dd has to be able to access the entire stick to be able to write the boot code in the MBR, therefore use only /dev/sdd. (These device names are just examples; use whatever device name Slackware assigns your USB device).
 
Old 12-07-2018, 07:03 PM   #89
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by hazel View Post
Oh dear! I dd'd that image to my memory stick and it copied over without reporting any errors. But I could not get it to boot, despite selecting usb boot from the BIOS boot menu. Actually from my experience with installing Crux from the same stick, it ought to have booted even without that; my BIOS seems to give priority to usb drives. And before anyone asks, yes I did copy to the whole drive (/dev/sdg) and not to a partition. After all, I've done this before a few times though admittedly only with iso images.

I've just mounted it in LFS out of curiosity and checked the visible contents and they are what I would expect. The syslinux.cfg file shows that I should have got a welcome message followed by a menu of three kernels plus memtest. Instead I got taken straight to my LILO menu on the hard drive.

There were no reported boot errors. The drive was just ignored. I notice that it has an EFI boot directory on it. That makes me wonder if it presupposes EFI and doesn't use the MBR.
I went and dd'd it to a usb stick and boy does it ever boot slooooow. After a good long time it finally ended with kernel panic so no joy here with that one, Just had to check and see for myself
 
1 members found this post helpful.
Old 12-08-2018, 01:24 AM   #90
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Depends on the bios and the boot device block size. The provided dd scripts never worked properly on my machine, because wrong block size.
So I format the device with FAT that starts @64 (not @2048 or @4096), install syslinux on it, copy the kernel and the repository, and it boots fine, loads fast, and has extra storage space.
I figure my boot device is too old to support the default block size, it takes 20 minutes to boot if I use the usb2* script to make a filesystem.
 
1 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
any advice on how to persuade my school against Linux-proof browsers? newbiesforever Linux - General 27 02-23-2018 08:20 PM
LXer: DevOps: How to Persuade Your Boss to Buy In LXer Syndicated Linux News 0 09-19-2016 03:58 PM
[SOLVED] I can't persuade LinuxMint Olivia/Cinammon to relate to Logitech webcam C270 mlplatt Linux - Newbie 10 11-12-2013 11:17 AM
Dedicated Slackware users persuade me Synesthesia Slackware 32 08-20-2008 07:39 AM
Kpilot doesn't sync to KDE addressbook? How to persuade it? furryspider Linux - Software 0 12-10-2005 03:33 PM

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

All times are GMT -5. The time now is 06:47 PM.

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