Slackware :: Replace Fdisk With Gnu In Busybox?
Oct 23, 2009I 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?
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?
Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?
Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp
Long time Slack user, thought I would try to update my old laptop (Toshiba Satellite with AMD K6-2 333 MHz, 128 MB RAM, 40 GB hard drive) from 10.2 to 13.37 in celebration of the newest version :-)
By update, I mean a complete wipe and reinstall, just to be clear.
So 10.2 runs well, everything looks shiny (XFCE of course) but when I try to install 13.37 I run into trouble. I figured out to boot with huge.s instead of hugesmp.s, but when I try to run 'setup' I get an error that says I have no partitions. mkay, I try fdisk (or cfdisk), but I get literally NO response - no error, no nothing but a return to the command promt. It is exactly as if fdisk does not recognize there is a hard drive there at all.
I boot back into 10.2,check the BIOS, everything looks fine, I have a drive mounted at /dev/hda1, swap at /dev/hda3. Are there some additional parameters I should be booting with? Does it matter that the hard drive is ATA?
After trying without success change from windows to ubuntu (dual-boot unsolved problems), I decided to try slack as I have seen that user to user support for slack is usually best oriented and faster.But I am having some problems in order to install slack because of GPT support. As I know its a bad idea to start to asking for help without speak what I have tried, lets to this first:
At first I tried just to boot from DVD and went through the install using the help inside the disk. It doesn't work because either fdisk and cfdisk that are suggested in help doesn't offer support to GPT.
After that first try i looked to:url
But also it suggest the use of fdisk. However, it suggested too that I could use another partition application and since I have the live cd for ubuntu, I tried to partition from there and use those partitions for installation.
At first I tried to format as ext4, but i discovered that slack still dont offer support to this format (at least the version that I downloaded).So I tried again but this time using ext3 as format to my / and /home and use the swap offered in the application for use as swap (duh!)But every time I try to install using the dvd it doesnt find my partitions with fdisk, only with the parted command I can see my partition table displayed correctly.However, every time I try to run setup it say that it didnt found and linux partition (swap also when i try to target).So this is my dilemma, I cant use fdisk, in the parted manual (url) it only says that it supports ext2 (not mention ext3) and also i dont find any command to use with parted to mark the partition as 82.I ran through this 2 other posts (url), but as I am still waiting for some update there I decided to ask it here hoping to discover that this is an easy problem.
Using Pentium4, snd_hda_intel, Codec Realtek ALC880, slackware64 13.1, No Gnome, firefox3.6.8 with flashplayer. Is is possible to replace Flashplayer with mplayerplug-in? Followed this a ubuntu tutorial:[URL]..community/SoundTroubleshooting to identify Sound Device using:
Code:
$wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh Tested sound by running gxine wizard which set it up as a plugin. Also ran mplayer but there was no wizard for firefox plugin both play sound. Used slackpkg to download mplayerplugin and pkgtool to install it. Where is mplayerplugin suposed to be installed? ***Found Mplayerplug-in... Pkgtool installed it right into Tools -> Addons-> Plugins intoo firefox... So i am going to disable Flashplayer and see what happens Thought I had to mannually configure it?
[Code]...
I already know how to replace the kernel used to boot up the cd installer. /kernels directory. What I really would like to know is, is it possible to replace the kernel that gets installed by default with my own kernel build? Currently I have my kernel placed in the /kernels directory and that works fine for startup and installation. But then when I boot off the hard drive the kernel that is being used is not the one I placed in the Kernels directory.
View 7 Replies View RelatedMy office has a box which is, by necessity, dual-boot WinXP/Slack. The Slackware I'm running there is -current, all great and fine. Until now... It turned out that my mobo, an ASUS P5KPL-CM, died after a power surge. Since the XP needs software activation, we replaced it for an exact copy of the mobo. After the change the box worked fine in XP, and I was able to connect to the network via the Ethernet interface. BTW, the Slackware version is Slackware-current, updated as of the Jan 9 update (after that I was no longer able to connect to the Net with Slack). However, in Slackware there was a problem: eth0 was no longer recognized. Using /sbin/ifconfig only listed the lo (loopback) interface. The lspci output is:
Code:
01:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
Subsystem: ASUSTeK Computer Inc. P5KPL-CM Motherboard
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
[code]....
Can the Replace function replace more than one word with the same character(s)?
Also, do you know how to access the plugins provided by the gedit-plugins package?
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?
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 RelatedLast 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.
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
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 RelatedOn 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
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 RelatedI'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...)
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.
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)
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.
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.
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.
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.
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?
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?
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 RelatedI 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 RelatedI'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]....
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 Relatedissue 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]....
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.