LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

A script is born

Posted 10-07-2011 at 12:00 PM by ButterflyMelissa

So...as noted in a previous post, all stuff can be automated...by a Bash script.

Wow, never did that before...so 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 10261 Comments 2 ButterflyMelissa is offline
Old

Half-way there

Posted 10-02-2011 at 12:21 PM by ButterflyMelissa
Updated 10-02-2011 at 12:36 PM by ButterflyMelissa

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.

But...as 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 906 Comments 0 ButterflyMelissa is offline
Old

A patient padawan reaches the goal...

Posted 10-01-2011 at 03:16 AM by ButterflyMelissa
Updated 10-01-2011 at 04:39 AM by ButterflyMelissa

...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 1062 Comments 0 ButterflyMelissa is offline
Old

An impatient padawan trips...

Posted 09-30-2011 at 03:25 PM by ButterflyMelissa
Updated 10-01-2011 at 04:41 AM by ButterflyMelissa

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

Quote:
/dev/sda3
really should read

Quote:
/media/sda3
Quote:
DST=/media/sda3
...then, expand the path:

Quote:
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 996 Comments 0 ButterflyMelissa is offline
Old

"File exists" - yeah duh...

Posted 09-27-2011 at 03:29 AM by ButterflyMelissa

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 917 Comments 0 ButterflyMelissa is offline

  



All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
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