Sponsored Content
Full Discussion: Small linux no gui
Top Forums UNIX for Dummies Questions & Answers Small linux no gui Post 302659277 by Corona688 on Wednesday 20th of June 2012 03:57:46 PM
Old 06-20-2012
I don't know of a real distribution for this. That's kind of overkill by definition. You don't need a package repository, you don't need much of anything at all, just a kernel and a bundle of files.

See initramfs on how to make that bundle of files. You'd probably use busybox in it -- it's a single swiss-army-knife executable which you can use like busybox cp source destination if you want cp, busybox cat filename if you want cat, etc, etc. Be sure to have a symlink /bin/sh pointing to /bin/busybox so scripts can run.

Just put whatever script you want into init instead of the stuff you'd use to chroot into a real system.

Going back to grub isn't trivial. You can't just "quit linux" and go back to grub. The kexec option allows you to boot another kernel, which would allow you to boot grub raw again without rebooting, but would take some fiddling to manage. The quick and dirty way to manage it is, of course, to just reboot...
 

5 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Linux GUI

I got Linux 9 installed on my system with the GUI. One fine day....the GUI wouldn't start. How should i set it right? (2 Replies)
Discussion started by: preeya
2 Replies

2. Linux

Why is linux console window in VMWare so small?

I install linux in VMWare, but Its console window is too small, Its size is 80*25, I can't change it even though I use full srceen mode in VMWare.How can I do? please help me! Thanks! (3 Replies)
Discussion started by: ChaoZhang
3 Replies

3. Linux

cant mount cd rom in damm small linux

hey guys im rather new to linux, im runnin damm small linux on an old HP. my problem is I cant mount the cd rom drive. when I try and mount I get the mount point is being used by another directory, i tried editing the fstab file. but that didnt work. any help would be greatly appreciated. (12 Replies)
Discussion started by: format
12 Replies

4. Linux

Damn Small Linux Booting Problems

I recently downloaded a DSL iso file. I loaded the iso in VirtualBox and it worked perfectly, but when I wrote the iso to a CD using k3b and I tried booting it, I got an error. I tried booting from the disk in VirtualBox and got the same error. "FATAL: Could not read from the boot medium! System... (3 Replies)
Discussion started by: Bradj47
3 Replies

5. Emergency UNIX and Linux Support

RHEL/Linux Small Monitor

Hi, I'm using RHEL 4.5, and currently due to some special circumstances that required me to use this small monitor about 7" The problem is while using this monitor with windows, the monitor able to show the graphic/view.. but while using redhat it unable to detect. This monitor has no... (7 Replies)
Discussion started by: flekzout
7 Replies
GRUB-INSTALL(8) 							FSF							   GRUB-INSTALL(8)

NAME
grub-install - install GRUB on your drive SYNOPSIS
grub-install [OPTION] install_device DESCRIPTION
Install GRUB on your drive. -h, --help print this message and exit -v, --version print the version information and exit --root-directory=DIR install GRUB images under the directory DIR instead of the root directory --grub-shell=FILE use FILE as the grub shell --no-floppy do not probe any floppy drive --force-lba force GRUB to use LBA mode even for a buggy BIOS --recheck probe a device map even if it already exists INSTALL_DEVICE can be a GRUB device name or a system device filename. grub-install copies GRUB images into the DIR/boot directory specfied by --root-directory, and uses the grub shell to install grub into the boot sector. The grub source distribution carries this script to ease the installation of grub as a boot loader. In Suse Linux however, grub installa- tion is much better handled by Yast; use of this script is generally discouraged and therefore unsupported. Consequently, the script has been renamed to grub-install.unsupported. In order to (re-)install grub for the currently running system, simply use Yast. For an installation aiming at a differing system, the crafting of an appropriate device.map and grub shell script is strongly advised, e.g. "grub --batch --device-map=target-device.map < tar- get-grub.conf" SEE ALSO
The full documentation for grub-install is maintained as a Texinfo manual. If the info and grub-install programs are properly installed at your site, the command info grub-install should give you access to the complete manual. grub-install (GNU GRUB 0.97) May 2005 GRUB-INSTALL(8)
All times are GMT -4. The time now is 02:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy