Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs
User Name



A script is born

Posted 10-07-2011 at 01:00 PM by Thor_2.0 noted in a previous post, all stuff can be a Bash script.

Wow, never did that my first one is ... totally out of style? I know. Yes, it is, I admit

So far, it preps the disk, sets up networking, downloads and installs ... one package, but it's a proof of concept...

Next, I need to make it a bit more "pretty" and add the packages in there, and in the right order. This means hunting down the depencencies,...
Senior Member
Posted in Uncategorized
Views 4452 Comments 2 Thor_2.0 is offline

Half-way there

Posted 10-02-2011 at 01:21 PM by Thor_2.0
Updated 10-02-2011 at 01:36 PM by Thor_2.0

I dont know what I did, but I think I'm half way there. Okay, half is not all the way, but it's a start. pointed out, it's a workload, a big one. Now, just now, I turned the PC in question off, had been lit since friday morning (had a day of...) and now, I've got...barely a command prompt.

The trick is not to lose track of the dependencies. After all, since a configure/make/make install is possible, quite a few requirements are met ... by the host system. Trick...
Senior Member
Posted in Uncategorized
Views 399 Comments 0 Thor_2.0 is offline

A patient padawan reaches the goal...

Posted 10-01-2011 at 04:16 AM by Thor_2.0
Updated 10-01-2011 at 05:39 AM by Thor_2.0

...well, part of it anyway.

Thusfar, I did this:
- partition the drive
- format the partitions
- make a root file system (folders & mountpoints)
- mount /dev/sda3 to /media/sda3
- mount /dev/sda1 to /media/sda3/boot
- mount /dev/sda4 to /media/sda3/home
- make a Downloads in the /root folder (on disk)
- prep a variable to be used as prefix for the config
- hand-prepped netwoking and did a ping test
- extended the search...
Senior Member
Posted in Uncategorized
Views 488 Comments 0 Thor_2.0 is offline

An impatient padawan trips...

Posted 09-30-2011 at 04:25 PM by Thor_2.0
Updated 10-01-2011 at 05:41 AM by Thor_2.0

Wise words from Yoda, warning the impatient padawan to take small steps...

I mentioned the --prefix a few entries ago, well, this would be set to the mount folder and not the device, so the entry

really should read

...then, expand the path:

PATH=/mediq/sda3/bin:[all points expanded with the mount point]:$PATH
...that should prove to be a bit better...
Senior Member
Posted in Uncategorized
Views 446 Comments 0 Thor_2.0 is offline

"File exists" - yeah duh...

Posted 09-27-2011 at 04:29 AM by Thor_2.0

Okay, so, using the prefix did'nt really work for binutils...upon the install, the installer comes back with "file exists", yea sure...

I tried to move the make to ram (in the ramfs) but the unpack sent the box into the mud...

Gave up for the day, got other stuff to fry now...
Senior Member
Posted in Uncategorized
Views 386 Comments 0 Thor_2.0 is offline


All times are GMT -5. The time now is 11:56 AM.

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