Changes between Version 3 and Version 4 of BaseDeDatos
- Timestamp:
- Sep 14, 2009, 3:45:59 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BaseDeDatos
v3 v4 23 23 24 24 25 CREATE TABLE IF NOT EXISTS `itemboot` ( 26 `label` varchar(50) collate utf8_spanish_ci NOT NULL, 27 `kernel` varchar(100) collate utf8_spanish_ci NOT NULL, 28 `append` varchar(500) collate utf8_spanish_ci NOT NULL, 25 itemboot(label,kernel,append) 29 26 PRIMARY KEY (`label`) 30 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci; 31 32 -- 33 -- Dumping data for table `itemboot` 34 -- 27 ENGINE=InnoDB 28 DESCRIPCION: esta tabla recoge los elementos de arranque ya sean locales (discos duros) o remotos (clientes opengnsys o cualquier otro que queramos integrar) 35 29 36 30 INSERT INTO `itemboot` (`label`, `kernel`, `append`) VALUES … … 38 32 ('1_localboot', 'LOCALBOOT 0', ' '), 39 33 ('11', 'KERNEL syslinux/chain.c32', 'APPEND hd0 1'), 40 ('EACdefault', 'KERNEL EACBootAgent/stable/vmlinuz-2.6.28-11-server', 'APPEND root=/dev/nfs initrd=EACBootAgent/stable/initrd.img-2.6.28-11-server nfsroot=repo_client:/var/EAC/nfsroot/stable ip=dhcp ro vga=788 irqpoll nolapic acpi=off EACregistred=no pci=nomsi EACregistred=NO'), 41 ('MSdos', 'KERNEL floppies/memdisk', 'APPEND initrd=/floppies/dos.img'), 34 42 35 ('ogClientNfs', 'KERNEL ogclients/ogClientNfs/netboot/vmlinuz-2.6.31-2-generic', 'APPEND root=/dev/nfs initrd=ogclients/ogClientNfs/netboot/initrd.img-2.6.31-2-generic nfsroot=repo_client:/opt/opengnsys/tftpboot/ogclients/ogClientNfs'), 36 43 37 ('ogClientNfsUltraLight', 'KERNEL ogclients/ogClientNfsUltraLight/linux', 'APPEND initrd=ogclients/ogClientNfsUltraLight/initrd.gz'), 38 44 39 ('ogClientRamfs', 'kernel ping-brutalix/kernel', 'append vga=normal devfs=nomount pxe ramdisk_size=33000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=ping-brutalix/initrd.gz root=/dev/ram0 rw nolapic lba'); 45 40 46 41 47 -- --------------------------------------------------------48 42 49 -- 50 -- Table structure for table `menuboot_itemboot` 51 -- 52 53 CREATE TABLE IF NOT EXISTS `menuboot_itemboot` ( 54 `labelmenu` varchar(100) NOT NULL, 55 `labelitem` varchar(100) NOT NULL, 56 `default` tinyint(10) NOT NULL 57 ) ENGINE=MyISAM DEFAULT CHARSET=latin1; 58 59 -- 60 -- Dumping data for table `menuboot_itemboot` 61 -- 43 menuboot_itemboot(labelmenu,labelitem,default) 44 ENGINE=MyISAM 45 DESCRIPCION: tabla resultante de la relación muchos a muchos de las dos anteriores. 62 46 63 47 INSERT INTO `menuboot_itemboot` (`labelmenu`, `labelitem`, `default`) VALUES