Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to determince CD is bootable or not Post 302295241 by oduth on Saturday 7th of March 2009 06:18:15 AM
Old 03-07-2009
How to determine CD is bootable or not

Hi,

How can i determine the /dev/scd0 is bootable or not from command-line with single-line command according to ElTorito specification or something else?

Regards,

Last edited by oduth; 03-07-2009 at 07:36 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bootable CD

Hi, I need to be able to make a back bootable CD for Solaris 7 + software on the system. As stated the CD needs to be a bootable one, I know it will more then likely have to be more then 1 CD and I don't mind. What would be a good program to do this? Also the best way to go about doing it.... (1 Reply)
Discussion started by: merlin
1 Replies

2. UNIX for Dummies Questions & Answers

bootable CD

Hey all, I'm trying to make a backup bootable CD of a solaris 7 machine. I have no idea where to start so I did alot a reading :-) Even though I've done alot of reading I still don't know what is the best way of going about it all. What I am after as a finished result is a bootable CD... (1 Reply)
Discussion started by: merlin
1 Replies

3. Filesystems, Disks and Memory

bootable cd

how can i create a bootable cd? i have the .iso thingy, and now i only need to put it on the cd, but do i need something special to do it w/? or just burn it right onto the cd? Ive already set cd to 1st in bios. thanx anyways (1 Reply)
Discussion started by: thenewestuser
1 Replies

4. UNIX for Dummies Questions & Answers

bootable

hw can i prepaer bootable floopy in Solaris as well as SCO Unix thx (1 Reply)
Discussion started by: girish_shukla
1 Replies

5. SuSE

CD Bootable OS

Hi, I want to create a CD that is bootable containing a working Linux OS ie OS runs from CD and not harddrive. Will probably install Linux to a 650GB partition , including all the bits I need. How would I then use this partition to create a working CD? Ideas and Web sites with info very... (5 Replies)
Discussion started by: markdr011
5 Replies

6. UNIX for Dummies Questions & Answers

Bootable CD

Hello all, I was wondering if anyone had made a bootable Linux CD with additional directory inside it. I'm trying to make a bootable CD with additional rpm to install the correct video card in a seaperate directory. I'm able to make a kickstart bootable CD but am unable to read into the new... (2 Replies)
Discussion started by: larryase
2 Replies

7. UNIX for Dummies Questions & Answers

How to have bootable backup?

In my present dual boot (Fedora Core 4 & WinXP2003 Server) desktop computer, I have redundant 100GB disk drives. Every so often I boot fedora core 4 and telinit 1 cp /dev/sda /dev/sdb and then I reverse the connections to the drives so I boot from the newly created copy. I just ordered... (2 Replies)
Discussion started by: siegfried
2 Replies

8. Filesystems, Disks and Memory

Make non-bootable scsi drive, bootable

In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible: 1) Make the non-bootable scsi drive bootable? How? 2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive? I seek... (1 Reply)
Discussion started by: bfisk
1 Replies

9. SCO

Recovering 5.0.7 from Bootable CD

I've been working with SCO Unix for several years now but have never had to restore a system from a bare drive. I have a bootable CD that contains what appears to be the correct files necessary to recover the boot and root filesystems. I've got the BIOS setup such that the CD is the first... (12 Replies)
Discussion started by: teamhog
12 Replies

10. Hardware

Bootable thumbdrive

Hi all! I trying to modify my bootable thumbdrive to be seen in window OS when i plug in. I did a FAT32 partition for it but it seem like! "windows only recognizes the first primary partition on a removable device" My 1st partition is my Ubuntu OS partition ext4, is there a way to go about... (4 Replies)
Discussion started by: GQiang
4 Replies
RDEV(8) 						     Linux Programmer's Manual							   RDEV(8)

NAME
rdev - query/set image root device, RAM disk size, or video mode SYNOPSIS
rdev [-Rrvh] [-o offset] [image [value [offset]]] rdev [-o offset] [image [root_device [offset]]] ramsize [-o offset] [image [size [offset]]] vidmode [-o offset] [image [mode [offset]]] rootflags [-o offset] [image [flags [offset]]] DESCRIPTION
With no arguments, rdev outputs an /etc/mtab line for the current root file system. With no arguments, ramsize, vidmode, and rootflags print usage information. In a bootable image for the Linux kernel on i386, there are several pairs of bytes which specify the root device, the video mode, and the size of the RAM disk. These pairs of bytes, by default, begin at offset 504 (decimal) in the kernel image: 498 Root flags (500 and 502 Reserved) 504 RAM Disk Size 506 VGA Mode 508 Root Device (510 Boot Signature) rdev will change these values. Typical values for the image parameter, which is a bootable Linux kernel image, might be: /vmlinux /vmunix /boot/bzImage-2.4.0 /dev/fd0 /dev/fd1 When using the rdev command, the root_device parameter might be something like: /dev/hda1 /dev/hdf13 /dev/sda2 /dev/sdc4 /dev/ida/c0d0p1 One may also specify the device by a comma-separated pair of decimal integers major,minor. For the ramsize command, the size parameter specifies the size of the RAM disk in kilobytes. 2.0.x kernels and newer dynamically allocate the ramdisk and do not need this setting. For the rootflags command, the flags parameter contains extra information used when mounting root. Currently the only effect of these flags is to force the kernel to mount the root filesystem in readonly mode if flags is non-zero. For the vidmode command, the mode parameter specifies the video mode: -3 = Prompt -2 = Extended VGA -1 = Normal VGA 0 = as if "0" was pressed at the prompt 1 = as if "1" was pressed at the prompt 2 = as if "2" was pressed at the prompt n = as if "n" was pressed at the prompt If the value is not specified, the image will be examined to determine the current settings. OPTIONS
-r Causes rdev to act like ramsize (Not relevant for 2.0.x and newer kernels). -R Causes rdev to act like rootflags. -v Causes rdev to act like vidmode. -h Provides help. BUGS
The rdev utility, when used other than to find a name for the current root device, is an ancient hack that works by patching a kernel image at a magic offset with magic numbers. It does not work on architectures other than i386. Its use is strongly discouraged. Use a boot loader like SysLinux or LILO instead. HISTORY
At offset 502 there used to be the device number of the swap device (in Linux 0.12), and "rdev -s" or "swapdev" would set this. However, since Linux 0.95 this constant is not used any longer, and the swap device is specified using the swapon(2) system call. At offset 504 there used to be the size of the ramdisk in kilobytes. One would specify a size, and this much was grabbed off the top of memory. In Linux 1.1.39 it became also possible to set this value on the kernel command line. In Linux 1.3.48 the ramdisk setup was changed. Ramdisk memory is now taken from the buffer cache, so that the ramdisk can grow dynamically. The interpretation of the ramdisk word was changed to a word of which the high order bit is a prompt flag (1: prompt for ramdisk: "VFS: Insert ramdisk floppy and press ENTER" - this is needed with a two-floppy boot), the next bit a load flag (1: load ramdisk), and the low order 11 bits give the starting block number of the root filesystem image (so that one can have a single floppy boot). See also linux/Documentation/ramdisk.txt. AUTHORS
Originally by Werner Almesberger (almesber@nessie.cs.id.ethz.ch) Modified by Peter MacDonald (pmacdona@sanjuan.UVic.CA) rootflags support added by Stephen Tweedie (sct@dcs.ed.ac.uk) AVAILABILITY
The rdev command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. Linux 0.99 20 November 1993 RDEV(8)
All times are GMT -4. The time now is 03:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy