bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: completely stand-alone grub (legacy or new) boot floppy - how?


From: Stephen Liu
Subject: Re: completely stand-alone grub (legacy or new) boot floppy - how?
Date: Fri, 5 May 2006 19:03:44 +0800 (CST)

Hi adrian15,

FC5_64
======

> If you only want a grub floppy and you don't want to make it. Try
> Super 
> Grub Disk ( http://adrian15.raulete.net/grub/ ). When dded to a
> floppy 
> and booted just press letter "c" to have a console.

Whether after PC boots up the floppy just pressing "c" to start a
console.  Then what will be next steps.  Would it be similar to
starting grub, the bootloader, during booting HD?


> How to build your own Grub floppy.
> 
> Take a floppy disk (fat or ext2)
> Delete its contents
> Create /boot/
> Create /boot/grub/
> Copy from your pc /boot/grub/* to the floppy

following is the content of;
# ls -al /boot/grub/
total 207
drwxr-xr-x 2 root root   1024 Apr 21 15:53 .
drwxr-xr-x 4 root root   1024 Apr 21 15:53 ..
-rw-r--r-- 1 root root     63 Apr 20 15:15 device.map
-rw-r--r-- 1 root root   7456 Apr 20 15:15 e2fs_stage1_5
-rw-r--r-- 1 root root   7328 Apr 20 15:15 fat_stage1_5
-rw-r--r-- 1 root root   6592 Apr 20 15:15 ffs_stage1_5
-rw------- 1 root root    746 Apr 28 01:02 grub.conf
-rw-r--r-- 1 root root   6592 Apr 20 15:15 iso9660_stage1_5
-rw-r--r-- 1 root root   8032 Apr 20 15:15 jfs_stage1_5
lrwxrwxrwx 1 root root     11 Apr 20 15:15 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root   6752 Apr 20 15:15 minix_stage1_5
-rw-r--r-- 1 root root   9056 Apr 20 15:15 reiserfs_stage1_5
-rw-r--r-- 1 root root   7028 Mar  1 12:41 splash.xpm.gz
-rw-r--r-- 1 root root    512 Apr 20 15:15 stage1
-rw-r--r-- 1 root root 102332 Apr 20 15:15 stage2
-rw-r--r-- 1 root root   6944 Apr 20 15:15 ufs2_stage1_5
-rw-r--r-- 1 root root   6144 Apr 20 15:15 vstafs_stage1_5
-rw-r--r-- 1 root root   8768 Apr 20 15:15 xfs_stage1_5
* * * END * * *

Whether copy all files to /boot/grub/ on the floppy?

> Create (if it is not created) a device.map with the following line:
>       (fd0)   /dev/floppy
> or maybe
>       (fd0)   /dev/fd0


Following is the content of;
# cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0)     /dev/sda
* * * END * * *

Shall I delete "(hd0)     /dev/sda" 
and add;
(fd0)   /dev/fd0

In my case "dev/fd0" is the floppy drive.


> Run grub from a linux shell.
> Type the following commands:
> root (fd0)
> setup (fd0)
> quit
I suppose doing it on console (Konsole if on KDE) after "su -".  To run
grub just type;

# grub [Enter]
> root (fd0) [Enter]
> setup (fd0) [Enter]
> quit

If I'm wrong please correct me.  Tks.

I suppose no change will be made on the HD.  I still don't have a clear
picture how can the OS (FC5_64 in my case) on HD be started after
booting up the floppy.

TIA


B.R.
SL




reply via email to

[Prev in Thread] Current Thread [Next in Thread]