If you are experiencing booting problems, the most important
thing to do is to keep calm and take things slowly. Just because you are having trouble booting does not mean you have lost any information on your hard disk. You may have lost access to it in the way that you are used to, but your operating system and all your information are still there (in 99.999% of cases). Chances are, Super Grub Disk will be able to either fix your problem for you instantly, or at least boot your operating system for you so you can fix the problem yourself after that. |
herman@red:~$ dd if=super_grub_disk_floppy_english_0.9575.img of=/dev/fd0 |
herman@red:~$ cp sgd_usb_0.9577.tar.gz /tmp |
herman@red:~$ cd /tmp |
herman@red:/tmp$ tar xvzf sgd_usb_0.9577.tar.gz |
herman@red:/tmp$ ls -lt total 222 -rw-r--r-- 1 herman herman 224773 2007-02-07 18:02 sgd_usb_0.9577.tar.gz drwxr-xr-x 3 herman herman 1024 2007-01-28 03:50 sgd_usb_0.9577 |
herman@red:/tmp$ cd |
herman@red:~$ cp -R /tmp/sgd_usb_0.9577/boot /media/usbdisk |
herman@red:~$ sudo grub |
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> geometry (hd Possible disks are: hd0 hd1 hd2 |
grub> geometry (hd2) drive 0x82: C/H/S = 7936/1/32, The number of sectors = 253952, /dev/sda Partition num: 0, Filesystem type is ext2fs, partition type 0x83 |
grub> root (hd2,0) |
grub> setup (hd2) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd2)"... 24 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd2) (hd2)1+24 p (hd2,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. |
grub> quit |
herman@red:~$ exit |
Your
Holidays in: La Litera (Huesca,Spain)! http://www.lalitera.org Super Grub Disk |
<-- Main Menu.lst *S.G.D. Language Selection English Super Grub Disk Castellano Super Disco Grub Catala Super Disc Grub Opciones de arranque |
F1 Ayuda F2 Espanol |
cat
(cd)/boot/sgd/S10en/help/introduccion.txt INTRODUCTION Grub is a very complete bootloader that can do more than just boot operating systems (OSes). This GRUB disk helps people to discover these lesser known options. It also helps people solving common boot problems by means of the running various Grub commands which you will find wrapped on simple menus. Super Grub Disk has an educational aim also. Each option has its own explanation. However, Super Grub Disk can be very Super, but... it is NOT perfect, so... Any request or improvement idea is welcome. Please send your email titled:'SGD "your idea" to: adrian15 ARROBA raulete PUNTO net (Where ARROBA is @ , and 'PUNTO' is '.' ) Pause. Press a key. Super Grub Disk 0.9528 Tribute_To_Australia Edition Copywrite (C) 2005,2006 adrian15 Super Grub Disk comes with ABSOLUTELY NO WARRANTY; for details, see Copyright in menu. This is free software, and you are welcome to redistribute it under certain conditions; for details see copywrite in the menu. Pause. Press a key. _ |
Super Grub Disk based on GNU GRUB version 0.97-os.1 (638K lower/523200k up per memory)
Press
enter or -> to boot the selected OS, 'e' to edit the
commands before booting, 'r' to reload, 'c' for a command-line, '/?N' to search or <- to go back if possible. |
Edited Saturday, August 04 2007
This how-to has just been freshly updated, but it needs to be updated again already, Puppy Linux version 2.17.1 is now out. Release notes for Puppy Linux version 2.17.1 I will update this how-to when I get time.
Here's yet another use for Super Grub Disk most people probably wouldn't otherwise be aware of. We can use Super Grub Disk as a base for making our own combinations of our favorite LiveCDs! :) The first time this how-to was made, it seemed like a good idea to make this combination of three great distros on one CD, even though I was aware that Puppy Linux already contains its own GParted. So why do we need two versions of GParted in the same CD? Firstly because it's important to be using the very latest version of GParted LiveCD. Secondly because the GParted-Clonezilla LiveCD also includes the latest Partimage, TestDisk and Photorec, as well as Clonezilla, all of which I really like. The CD that we will make below here features GParted-Clonezilla livecd 2.0 which is based on both GParted-0.3.4-8 and CLonezilla-1.0.3-18, which are current at the time this how-to is being made. Puppy Linux boots up from the CD and loads itself entirely into the PC's memory, so once Puppy Linux is up and running you can take the CD out! Puppy Linux will keep on running in the RAM. That makes it a great rescue CD, because you can then have the CD drive available for copying any files you need to rescue to a CD-ROM. To access your files, Puppy Linux has a great file system mounting utility called Pmount, just right-click on the desktop and go -->Filesystem-->'Pmount'. It's quick and very simple to use, you don't need to know any Linux commands. Puppy Linux can also play DVD movies very well. In fact, Puppy Linux will amaze you! Puppy Linux can run even well in many older computers with moderate hardware, and yet seems to be able to do everything if not more than some of the full size distros. It's great! Put Puppy Linux through its paces and practice with it a little, you'll fall in love with Puppy! |
This is a "copy & paste" HowTo! The easiest way to follow
this exercise is to open your own command line (terminal) and simply
copy and paste the commands (except where you have to provide own
specific information like disk and partition details, hostnames,
passwords,...). This saves you a lot of time and effort and helps to
avoid typos. You should only copy and paste the commands. Those don't begin until after the $ (prompt). Many of these tables shown for illustration also include the outputs or feedback from the commands. These can vary from one machine to another but should still serve to give an idea what should happen. You should be careful not to copy any of these example outputs as part of your commands. The commands are usually only in the top line, results, feedback or output is normally underneath. |
herman@red:~$ md5sum sgd_0.9598.iso d283da5d195be1ff434e289cf48280b7 sgd_0.9598.iso |
herman@red:~$ md5sum gparted-clonezilla-2.0.iso f8744b2ef29262750fd31ea7bcb9dce7 gparted-clonezilla-2.0.iso |
herman@red:~$ md5sum puppy-2.16-seamonkey-fulldrivers.iso 54e14cdd7f892e0352b5c5d53c30ab17 puppy-2.16-seamonkey-fulldrivers.iso |
herman@red:~$ mkdir supergpartpuppy |
First, puppy-2.16-seamonkey-fulldrivers.iso, we need to make a mount point for it, Code:
Next, we mount it, Code:
|
herman@red:~$ sudo cp -r /media/puppyiso/* supergpartpuppy/ |
Second, GParted-Clonezilla-2.0.iso, we need to make a mount point for it first, Code:
Next, we mount it, Code:
|
herman@red:~$ sudo cp -r /media/gpartclonziso/* supergpartpuppy/ |
herman@red:~$ sudo mv supergpartpuppy/boot/grub/menu.lst supergpartpuppy/boot/grub/menu.lsta |
Third, the Super Grub Disk .iso, we need to make a mount point for it first, Code:
Next, we mount it, Code:
|
herman@red:~$ sudo cp -r /media/supergrubiso supergpartpuppy/ |
herman@red:~$ sudo mv supergpartpuppy/supergrubiso/boot/grub/* supergpartpuppy/boot/grub/ |
herman@red:~$ sudo rmdir supergpartpuppy/supergrubiso/boot/grub |
herman@red:~$ sudo mv supergpartpuppy/supergrubiso/boot/* supergpartpuppy/boot/ |
herman@red:~$ sudo rm -R supergpartpuppy/supergrubiso |
herman@red:~$ sudo chmod -R 777 supergpartpuppy/ |
herman@red:~$ gedit supergpartpuppy/boot/grub/menu.lst |
# You can edit this file to add your own distribution # You can choose default to 0 to select first entry # which it is usually the entry for the default distro # # # You can also set timeout to something as 10 # # This is the shortcut to call Super Grub Disk (commented) #title Super Grub Disk ## The two commands: setgrubdevice and usbshift are needed ## so that SGD works well. #usbshift #configfile $(grub_device)/boot/sgd/menu.lst # # Just after default and timeout statements you have to put # setgrubdevice so that grub device is correctly set. default 2 timeout 2 setgrubdevice # This is compulsory #gfxmenu /boot/grub/message foreground ffffff background 0c00ff color white/brown yellow/cyan title Inicio normal / Normal Boot kernel $(grub_device)/vmlinuz lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash initrd $(grub_device)/initramfs title Soporte de accesibilidad / Accesibility Support --> configfile $(grub_device)/boot/grub/menu2.lst title Super Grub Disk # The two commands: setgrubdevice and usbshift are needed # so that SGD works well. usbshift configfile $(grub_device)/boot/sgd/menu.lst title Normal boot. Kernel is aware of Boot device kernel $(grub_device)/vmlinuz lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash boot_device=$(grub_device) initrd $(grub_device)/initramfs title Normal boot. Selecting kernel and initrd files depending on grub_device kernel $(grub_device)/vmlinuz_$(grub_device_string) lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash initrd $(grub_device)/initramfs_$(grub_device_string) title Selecthd test configfile $(grub_device)/boot/grub/choose/selecthd.lst title findp test configfile $(grub_device)/boot/grub/choose/selectpart.lst title set SGD variables and boot SGD configfile $(grub_device)/boot/sgd/menu.lst |
# You can edit this file to add your own distribution # You can choose default to 0 to select first entry # which it is usually the entry for the default distro # # # You can also set timeout to something as 10 # # This is the shortcut to call Super Grub Disk (commented) #title Super Grub Disk ## The two commands: setgrubdevice and usbshift are needed ## so that SGD works well. #usbshift #configfile $(grub_device)/boot/sgd/menu.lst # # Just after default and timeout statements you have to put # setgrubdevice so that grub device is correctly set. default 0 # timeout 10 setgrubdevice # This is compulsory #gfxmenu /boot/grub/message foreground ffffff background 0c00ff color white/brown yellow/cyan title Super Grub Disk # The two commands: setgrubdevice and usbshift are needed # so that SGD works well. usbshift configfile $(grub_device)/boot/sgd/menu.lst title GParted-Clonezilla-2.0 configfile $(grub_device)/boot/grub/menu.lsta title Puppy-2.16-Seamonkey-Fulldrivers kernel $(grub_device)/vmlinuz root=/dev/ram0 pmedia=cd initrd $(grub_device)/initrd.gz title Inicio normal / Normal Boot kernel $(grub_device)/vmlinuz lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash initrd $(grub_device)/initramfs title Soporte de accesibilidad / Accesibility Support --> configfile $(grub_device)/boot/grub/menu2.lst title Normal boot. Kernel is aware of Boot device kernel $(grub_device)/vmlinuz lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash boot_device=$(grub_device) initrd $(grub_device)/initramfs title Normal boot. Selecting kernel and initrd files depending on grub_device kernel $(grub_device)/vmlinuz_$(grub_device_string) lang=es a11y=none root=/dev/ram0 ramdisk_size=100000 initrd=initramfs quiet BOOT=live splash initrd $(grub_device)/initramfs_$(grub_device_string) title Selecthd test configfile $(grub_device)/boot/grub/choose/selecthd.lst title findp test configfile $(grub_device)/boot/grub/choose/selectpart.lst title set SGD variables and boot SGD configfile $(grub_device)/boot/sgd/menu.lst |
herman@red:~$ genisoimage -R -b boot/grub/stage2_eltorito \ -input-charset iso8859-1 \ -V "SUPERGPARTPUPPY" \ -no-emul-boot \ -boot-load-size 4 -boot-info-table -o supergpartpuppy.iso supergpartpuppy |