Hi! How can i create a boot disk for starting up a already installed system, like the one the Install made. I could only find in the manuals about how to create a boot disk like the one that came with SuSE Linux and in case your system crashes, but that's not the same thing. - tk
First, the CD/DVDs are bootable, and have a rescue option. I've used this before on SuSE. YaST2 has an option to produce a rescue diskette. The diskette images are in the disks diurectory on CD1. There are several.
From Linux you can use dd to copy them to a formatted diskette.
On 12 Jun 2002 at 18:08, Tom Kostiainen wrote:
Hi!
How can i create a boot disk for starting up a already installed system, like the one the Install made. I could only find in the manuals about how to create a boot disk like the one that came with SuSE Linux and in case your system crashes, but that's not the same thing.
- tk
-- Jerry Feldman Enterprise Systems Group Hewlett-Packard Company 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752 508-467-4315 http://www.testdrive.compaq.com/linux/
The manual states that the rescue disk is not for booting a already
installed system.
I need to make a boot that will start my SuSE Linux when when the floppy is
in the drive!
...would there be a way to copy the disk I'm using now?
- tk
----- Original Message -----
From: Jerry Feldman
First, the CD/DVDs are bootable, and have a rescue option. I've used this before on SuSE. YaST2 has an option to produce a rescue diskette. The diskette images are in the disks diurectory on CD1. There are several. From Linux you can use dd to copy them to a formatted diskette.
On 12 Jun 2002 at 18:08, Tom Kostiainen wrote:
Hi!
How can i create a boot disk for starting up a already installed system, like the one the Install made. I could only find in the manuals about how to create a boot disk like the one that came with SuSE Linux and in case your system crashes, but that's not the same thing.
- tk
-- Jerry Feldman Enterprise Systems Group Hewlett-Packard Company 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752 508-467-4315 http://www.testdrive.compaq.com/linux/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
On Thu, 13 Jun 2002, Tom just had to get this off his chest:
The manual states that the rescue disk is not for booting a already installed system. I need to make a boot that will start my SuSE Linux when when the floppy is in the drive!
The answer has already been given IIRC. dd if=/boot/vmlinuz of=/dev/fd0 bs=512 rdev /dev/fd0 <root-device> /* root-device depending on where / is mounted */ No need to mount or format. Theo -- Theo v. Werkhoven ICBM 52 8 24N , 4 32 40E. S.u.S.E 7.3 x86 Kernel 2.4.16-4GB See headers for PGP/GPG info.
On Thursday 13 June 2002 01:08 am, Tom Kostiainen wrote:
How can i create a boot disk for starting up a already installed system
~ maybe, somethink along the lines of . . . format a 1.44 floppy with
command < mke2fs -c /dev/fd0
then
Thanks,
Why the mounting? And how can I see what kernel I'm using?
Hope this boot is not a rescue disk but a boot work starting up
a already installed system that is not installed as the main OS.
- tk
----- Original Message -----
From: tabanna
On Thursday 13 June 2002 01:08 am, Tom Kostiainen wrote:
How can i create a boot disk for starting up a already installed system
~ maybe, somethink along the lines of . . . format a 1.44 floppy with command < mke2fs -c /dev/fd0 then
next, go to /boot directory, and select your kernel { maybe vmlinuz}
then,
< dd if=/boot/vmlinuz of=/dev/fd0 >
{ My errors & omissions excepted :( }
best wishes
____________
sent on Linux
____________
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
On Thursday 13 June 2002 01:08 am, Tom Kostiainen wrote:
How can i create a boot disk for starting up a already installed system
You'll need than just a kernel to make the disk bootable. As I understand it, the kernel by itself isn't bootable, it needs a loader such as LILO or GRUB. There's a mini-HOWTO on making a bootdisk. Look at: /usr/share/doc/howto/en/html/mini/Hard-Disk-Upgrade/bootdisk.html In case you don't have it installed on your machine, I'll include it below, because it's pretty short: --------------------------------------------------- 10. Make a boot diskette (optional) If you wish, you can make a boot diskette, in case you run into problems when trying to boot the new disk. Insert an empty diskette, format it, create a file system on it and mount it: fdformat /dev/fd0H1440 mkfs.ext2 /dev/fd0 mount -t ext2 /dev/fd0 /mnt Debian only. With Debian 2.x, use /dev/fd0u1440 instead of /dev/fd0H1440. With Debian 1.x, use /dev/fd0h1440, with a lower case h. Debian only. With Debian 2.x, use superformat instead of fdformat. You can ignore the error mformat: command not found. With Debian 1.x, if you don't have the command fdformat, you can omit it if the floppy is already formatted. In this case, you should check the diskette for bad blocks by adding -c after the mkfs.ext2 command. Slackware only. Use /dev/fd0u1440 instead of /dev/fd0H1440. With older versions, try /dev/fd0h1440, with a lower case h. SuSE only. Use /dev/fd0u1440 instead of /dev/fd0H1440. Copy all files in /boot to the diskette: cp -dp /boot/* /mnt Red Hat only. If the /boot directory contains both vmlinux and vmlinuz files (note the difference in the last letter), you only need to copy the vmlinuz files to the boot diskette. They are the same as the vmlinux files, except that they're compressed to save space. Slackware only. Copy the file /vmlinuz to the boot diskette; use the command cp /vmlinuz /mnt. Create a new file /mnt/lilo.conf as follows: boot=/dev/fd0 # Install LILO on floppy disk. map=/mnt/map # Location of "map file". install=/mnt/boot.b # File to copy to floppy's # boot sector. prompt # Have LILO show "LILO boot:" # prompt. timeout=50 # Boot default system after 5 # seconds. (Value is in tenths of # seconds.) image=/mnt/vmlinuz # Location of Linux kernel on # floppy. The actual name may # include a version number, for # example "vmlinuz-2.0.35". label=linux # Label for Linux system. root=/dev/hda1 # Location of root partition on # new hard disk. Modify this as # appropriate for your system. # Note that you must use the name # of the future location, once the # old disk has been removed. read-only # Mount partition read-only at # first, to run fsck. Install LILO on the boot diskette: /sbin/lilo -C /mnt/lilo.conf The -C option tells LILO what configuration file to use. Unmount the diskette: umount /mnt
* Robert Storey (dial911@venus.seed.net.tw) [020613 17:24]:
You'll need than just a kernel to make the disk bootable. As I understand it, the kernel by itself isn't bootable, it needs a loader such as LILO or GRUB.
No, just doing dd if=/boot/vmlinuz of=/dev/fd0 will result in a bootable disk. It won't work if you normally use initrd (e.g., for a SCSI or filesystem module). Also, you won't be able to pass arguments to the kernel at boot. -- -ckm
Personnally, I find Grub to be the easiest to configure (and understand) Boot Loader. I think there are some HowTos available. There are also some articles on the IBM DeveloperWorks site. Kind regards, Simon Tom Kostiainen wrote:
Hi!
How can i create a boot disk for starting up a already installed system, like the one the Install made. I could only find in the manuals about how to create a boot disk like the one that came with SuSE Linux and in case your system crashes, but that's not the same thing.
- tk
participants (7)
-
Christopher Mahmood
-
Jerry Feldman
-
Robert Storey
-
Simon Heaton
-
tabanna
-
Theo v. Werkhoven
-
Tom Kostiainen