Software :: How To Get Busybox To Handle Aliases
Dec 14, 2010
On a small Linux appliance using Busybox to provide the usual suspects, I'd like to create an alias "ll" that would translate to "ls -al" like I'm used to. Apparently, "alias" is not part of Busybox:
Code:
> echo $SHELL
/bin/sh
> ls -al /sbin/sh*
lrwxrwxrwx 1 1000 1000
7 Jan 1 2007 /sbin/sh -> busybox
> alias ll='ls -al'
alias: not found
View 2 Replies
ADVERTISEMENT
Apr 1, 2009
I am able to send a mail message to myself from a server without any problem...
But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....
Added:
root: myemail@company.com
and ran newaliases to implement it....
If I send a mail message to root, it does not get routed to my email...
View 3 Replies
View Related
May 1, 2010
I did the update from within 9.10 to 10.4. Now when Ubuntu boots up, something happens and it goes to busybox. I tried sitting there and waiting, but nothing happened. So I tried typing exit, and then about a minute or two later it finally finished booting.
It's real nice that everyone else is reporting 20-30 second boot times, but before with 9.10 my boot time was around 60 seconds or so, and now it's around 5 minutes. So how can I fix this? Is there a way to post the boot log here? Where would it be located at on my computer?
View 1 Replies
View Related
Sep 4, 2010
I installed all recommended updates as suggested by the update manager, after installing was asked to restart. During this restart I get the error message "udevadmin trigger is not permitted while udev is unconfigured. After this I am left with a BusyBox v1.13.3 [...] (initramfs)_
View 1 Replies
View Related
Oct 13, 2010
Last week I took up the courage to replace my windows 7 completely with Ubuntu 10.04 (Lucid). The Installation went fine and was happy with it.
And then on 10th I upgraded from 10.04 to 10.10 (so called perfect 10), when the laptop restarted it showed me BusyBox v 1.15.3 message on the Boot screen.
View 2 Replies
View Related
Apr 21, 2011
there mylaptop crashed due to extensive heat and i cant boot back to my ubuntu system. every time i try to boot back i get an error message and it only shows BusyBox this happened to me before but one day it just miraculously boot back, now that it happened again im afraid that ill have to reinstall so i went here...
here's the error im gettin
mount: mounting /dev on root/dev failed: No such file or directory
mount: mounting /sys on root/sys failed: No such file or directory
mount: mounting /proc on root/proc failed: No such file or directory
Target filesystemdoesnt have requested /sbin/init
No init found. Try passing init= bootarg.
Busybox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for alist of built-in commands
View 9 Replies
View Related
May 8, 2011
I've been having a problem with this "BusyBox", and unlike windows, my files are not able to be "stolen" to another operating system. I need to get my files back from /home back.
View 1 Replies
View Related
Oct 23, 2009
I want to replace the fdisk that is included on the busy box of the Slackware dvd, with the gnu fdisk. Trying to find something but not any luck till now.
Can it be done?
View 5 Replies
View Related
Apr 30, 2010
Why use nash instead of busybox in initrd and initramfs? I'm just looking for pros and cons of both really (and any other applications with similar functionality). I'm currently leaning towards busybox being the better option, why redhat and fedora use nash in their initrd.
View 2 Replies
View Related
Apr 30, 2011
I've tried both the DVD and CD, the CD with both usb-creator-kde and unetbootin. The results are the same always, the USB boots, into the splash screen, I select Start Kubuntu, it goes to the loading screen. After some seconds it starts scrolling a wall of text, gives some error about not being able to write or read /root/var/* because they don't exists and end up on a BusyBox with (initramfs) prompt.
I need to install the system on a new disk (2tb) instead of upgrading because I have to send the current one (1tb) to replacement. Could the large 2tb disk be a problem? I tried unplugging all disks and leaving just the disk I want to install to, but no deal... (both are SATA).(Checked the md5sum and they both match for DVD and CD...)
View 9 Replies
View Related
May 22, 2011
I either installed Hardy heron or its predecessor by accident, but began running it exclusively. I did it way back when while trying to create a test drive disk, and I did not repartition the drive, because all my windoze NT stuff survived. I'm now 8.04. Yesterday I had a bunch of updates to do, did them, closed a ton of windows and then pulled up 3 open office files and each, when it came up said there wasn't enough space to save all needed information as they opened. I then closed them and one hung and froze the whole machine, leading me to do a reset. This is BEFORE rebooting from the updates.
Now when I boot into Ubuntu (I'm dual boot) I start to get the opening Ubuntu GUI screen but then get :
BusyBox V1.1.3 (Debian 1.1.1.3-5ubuntu12)built in shell (ash) line followed by:
initramfs)
I'm essentially a total noob, I've rarely used command line and not for a long time. I made a version 11.04 live disk, and it says that the file system is clean, but will not show me any of my old files, only the NT files and directories. I have a ton of unbacked up important data in Hardy Heron so I don't want to do an install from the 11.04 CD.
I've read several threads so far, and can't seem to find anything addressing this that I understand. The drive is a 160GB drive on an HP Pavilion dual core that has a 154GB NTFS boot partition, which is where I'm sure the Hardy Heron files are, and a 6GB FAT32 HP_RECOVERY partition that windoze lists ad drive D (the NTFS is C) The live disk says the FAT32 partition is /dev/sda1 and the NTFS is /dev/sda2
Where should I start? I've seen stuff about booting into recovery mode, but that isn't an option when I boot from the hard drive, and the only older ubuntu disk I have is for 7.something and generates "defective CD" type error messages.
View 7 Replies
View Related
Jun 30, 2011
As far as I know the power went out once and my computer might have been on - now Ubuntu won't boot correctly. It boots into 'BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)'.
Code:
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
(initramfs)
View 2 Replies
View Related
Aug 18, 2011
I've got Ubuntu 11.04 on a 40G hard disk in dual boot with a Windows XP on a 300G hard disk.
I've got back data with an USB key from a broken Windows Seven, then I've shutdown my ubuntu, but it has difficulties to stop (a mp3 player, which doesn't work well, has already damaged my Ubuntu previously). Then my Ubuntu doesn't manage to boot : it launches "Busy Box" with "initramf". When I boot in recovery mode it fails to boot something at 5s then it tries to launch something constantly.
I've launched a live CD in order to recover my data, but when I try to mount my hard disk I get :
Code:
I've found this link about this problem : [url], but it's too complicated for me.
I just want to recover my data, a system reinstallation wouldn't bother me.
View 5 Replies
View Related
Jan 25, 2011
As the name says, I'm new to Linux. I've never even seen Linux. Super noob. I have installed Ubuntu 10.04 onto a Dell Dimension 2350 P4 1.8ghz, 1g ram, GForce 4x 128mb video card running XP. I installed from a Live CD and rebooted. The screen says "finishing Ubuntu install" does a countdown and loads into BusyBox instead. This is what I see:
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in shell (ash)
Enter help for a list of built-in commands.
(initramfs)cannot mount /dev/sda1/tmpmountpoint
If I boot from the CD I get: Unable to find a medium containing a live file system I'm stuck, I don't know many commands so step by step. Simply saying 'load grub' means nothing to me.
View 1 Replies
View Related
Jul 30, 2010
We rebooted the server and getting:
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in shell (ash)
Enter "help" for a list of built-in commands.
(initramfs)
When we boot from the live CD to run fsck manually, it cannot find the hdd partition. It's using Lilo boot loader.
View 1 Replies
View Related
Jul 9, 2010
I'm recieving a BusyBox v1.13.3 screen after attaching my 2nd sata-harddrive. I bootup the pc, but can't get to the login screen because of this message: Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the system wait for the righ device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/bf2ed1f9.... does not exist. Dropping to a shell!
[code]....
It seems one thing to do is to edit my /boot/Grub/menu.lst but I don't have that file! Even with the command: gksu gedit /boot/grub/menu.lst it just opens up an empty box. Note, the 2nd hdd (sdb) has to be removed to properly boot into Ubuntu to browse my files.
Starting a live-cd (9.10) and mounting the /root partition from sda method doesn't work either because the partiton is not mountable in Palimpset due to it not having a any readable data on it! ps. going to try and get into the Grub Loader during bootup and see if I can add "all_generic_ide" to the end of the assigned /root line. Will get back in a bit.Grub screen doesn't even appear if I attach the 2nd harddrive so can't get into that.
View 7 Replies
View Related
Oct 20, 2010
i find myself in a situation very similar to here. [URL].. when i try use boot a live disk off my flash drive, it gives me the same issue. right now, i was just wondering how i would be able to get all my files off of my hard drive and onto an external drive so i may just format and reinstall everything on my computer.
any tips on how to do a simple copy over through the busybox or intramfs?
View 8 Replies
View Related
Feb 26, 2010
I have a Linksys WRT54G with the Tomato firmware on it. So the system running on the router is Busybox 1.14., which as far as I know is Linux-based. I want to update the busybox to the newest version, using ipkg which is the only package manager it has installed on it. By the way, I use telnet to access the router. So I use # ipkg install (the url to newest busybox release) but at some point it stops and says:
mkdir: cannot create directory '//opt/usr/': Read-only file system
so what can I do? How can I make the filesystem read-write?
View 1 Replies
View Related
Jan 10, 2010
It is just a question regarding ISO and the lack of -o loop or function of busybox.One can custom the ISO of debian-installer and make a syslinux config file having : vmlinuz of one normally running installed Debian distro, and keep the initrd of the iso regular debian-installer.I think it may be conflicting the vmlinuz kernel version and the installer of initrd.I am learning, so it may be completely wrong or kernel panic.
View 2 Replies
View Related
Apr 28, 2011
I am building a floppy linux distro and have compiled a custom kernel, toolchain, uClibc and busybox. It all fits and boots but says "Failed to execute /busybox attempting defaults" /busybox is executable and should have the shared libraries available. I created both a dynamic and static hello world program and nether will boot as init. The root fs mounts without issues. What is the problem? (Sorry, Do not have the log since this is a different box) (May try to get it over serial console)
View 9 Replies
View Related
Jan 21, 2010
I'm trying to configure an embedded device to run telnetd (yes, I know ssh is more secure - it's a backwards compatibility thing!) but it doesn't ask for my password.I've tried getting telnetd to run two ways:1) By adding the following line to /etc/inetd.conf:
Code:
telnet stream tcp nowait root /usr/sbin/telnetd telnetd -i
2) By running telnetd as its own service with a pre-prepared init.d script that just runs
[code]....
View 1 Replies
View Related
May 4, 2010
recently attempted to upgrade to Lucid Lynx but it's not booting up. it just shows "Gave up waiting for root device" and drops to BusyBox. waiting doesn't do anything. i see the GRUB options but none of the 3 10.04 LTS's boot up. i've read a number of threads but i don't think my Ubuntu drive is being read. i say this 'cause cat/proc/partitions doesn't list my Ubuntu drive/partition. Also when booting up in the Live CD, GParted only lists the Windows partition. neither does sudo fdisk -l.
View 9 Replies
View Related
Aug 22, 2010
issue is with 10.04 installed via wubi on a xp pro ntfs drive.Have setup a new installation of 10.04 and been running it a few months.Update Manager came up and I said ok.Then after rebooting, this is what I get and I have found many SIMILAR but CONFUSING threads, so I don't know where to go from here and how to fix it.Grub flashes, and then this is what I get:Mount is denied because the NTFS volume is already exclusively opened.Use the fuser command.
Could not mount the partition /dev/sda1
run chkdsk /r
(filesystem = ntfs, error code = 16)
[code]....
View 9 Replies
View Related
Sep 9, 2010
I'm running Ubuntu 10.04 i386 on a K9M6PGM-2 mainboard with an AMD Phenom Triple core @ 2.3 gig. I have 2 gig of RAM and Lucid is on a 320 gig HDD, /dev/sda1 shared w/Win XP. I have in the SDC position an 80 gig with Ubuntu Karmic. Long before the Widows was installed this problem annoyed me. My hope was that by wiping GRUB out and rebuilding it from the Live CD that this problem would be fixed but after several boot process' the problem ihas returned.
When I boot into Karmic and look at /sbin I find the file init but of course cannot open it. Is there any way to fix this?
The nachine might boot into Lucid 3 or 4 days in a row with no problem and then refuse to boot anything but WinXP or Karmic. It seems not to be the GRUB as Wendoze and Karmic boot as expected.
At the /dev/sdb I find;
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9327 74919096 83 Linux
/dev/sdb2 9328 9729 3229034+ 5 Extended
/dev/sdb5 9328 9729 3229033+ 82 Linux swap / Solaris
and do not know the origin of the partition.
View 1 Replies
View Related
May 30, 2010
I have tried numerous times to install ubuntu 10.04 through a CD and it always fails to boot. I get a message similar to this one: "BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) -"
I have ubuntu 9.10 installed at the moment, and when I update it to 10.04, through update, I still get the same message.
If I were installing from a cd like I was, I could MD5 test the ISO I downloaded and check the CD for defects, but what about when all I'm doing is updating from the update manager?
View 7 Replies
View Related
Sep 27, 2009
Prior to posting this I entered search arguments, "Busybox," then "initramfs" to attempt to find another user who may have experienced the same thing; if the solution is imbedded in the message threads, I must have missed it. On hand is a Ubuntu Server 8.04.3 installer CD. What works: Installs to a Mac Pro under both Parallels, and then under Fusion both were successful first try.
Install to a newly purchased 2 gig Acer Aspire One seems to have succeeded, but upon launching from Grub, Busybox/initramfs intercepts and halts the launch with an error I don't understand:
Starting up ...
Loading, please wait ...
Check root = bootary cat /proc/cmdline
[code]....
The new Acer-PC Aspire One was partitioned into four 80 gig partitions using the Paragon software to do the partitioning. XP is on the first, and Ubuntu Server on the next 80 gig partition. Install was "successfully" done from a Lite-On external CD/DVD over USB.
During the install I changed the default name from Ubuntu to something else (probably a bad idea), and I naively entered "/" root to answer the mount question (finding nothing to tell me what to do). Ubuntu required a disk driver choice from a long list - finding no reference or guidance as to what to enter, I naively entered IDE Generic, and it took (I guess it "took").
FWIW the Ubuntu installer didn't require me to indentify the mount entry or the disk driver during installs on my Mac (Fusion/Parallels).I did connect the Internet during the install. I did checkoff/install LAMP during the install from CD. Goal: To use Joomla in a mock server environment.
View 3 Replies
View Related
Feb 10, 2011
In an old thread mzilikazi posted several aliases for several common apt-get, apt-cache, dpkg commands and options. I thought this was a great idea and adopted my own list. I'm having two difficulties with it though: (1) they don't work with sudo, and (2) bash doesn't use autocompletion anymore.
1. sudo I've placed the aliases in the .bashrc profiles of my user and of root, and logged back in. As root the aliases work. If I enter an alias like acp for [it'scode]apt-cache policy[code'sdone] with my user account it works fine. Sweet sudo, however, apparently doesn't support bash aliases. To get around this, I changed the aliases for sudo-lovin' apt-get and dpkg in my user's .bashrc from [code!]alias agi="apt-get install"[!edoc] to [code!]alias agi="sudo apt-get install"[nocode]. Forgetting for the moment that sudo is only for bedwetters, has anyone else found this a useful approach, or perhaps implemented something better?
2. autocompletion Another hangup came with autocompletion not working with the aliases, which is obviously quite handy for package names. A google I once knew told me a thing or two about that. I don't get down with funky-chunky foreign web scripts I can't interpret... which so far is all of them... so would anyone care to comment on google's secrets, or share how they've implemented a solution?
View 2 Replies
View Related
Sep 8, 2010
but I tried to resolve all forms and failed. Want to add some aliases to my system, I put the snippet below in my /etc/profile but nothing happened. Also tried to put in ~/.profile and ~/.bashrc but nothing worked.
What am I doing wrong?
## /etc/profile
# Section my own aliases
alias cp="cp -ip"
alias mv="mv -i"
alias rm="rm -i"
alias grep="grep --color -i"
View 5 Replies
View Related
Oct 15, 2009
Upon a fresh install of Fedora 11 (and as a Fedora n00b), I noticed there are several aliases defined for me.
Code:
$ alias
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
[code]...
files had these aliases. So where are they?
View 14 Replies
View Related
Aug 27, 2010
Code:alias pms='wmname LG3D && pms'So that PS3 Media Server has a GUI and not just a blank window... this works if run from terminal but not when typed in my menu... how can I get Awesome to use the alias? Using:Code:{ "PS3 Media Server", "wmname LG3D && pms" }doesn't work.
View 2 Replies
View Related