|Anonymous | Login||2013-06-19 05:33 UTC|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000118||[Devil-Linux 1.4] Bug||block||always||2011-11-20 01:49||2012-01-06 02:03|
|Summary||0000118: 1.6.0-RC1-2011-11-09-x86_64-server install-on-usb fails to install grub|
1.6.0-RC1-2011-11-09-x86_64-server install-on-usb fails to install grub
Running install-on-usb and selecting grub fails here
copying source file ./bootcd.iso to device mounted on /root/DL/devil-linux-1.6.0-RC1-2011-11-09-x86_64/tmp-install2usb/disk-mnt/bootcd.iso
Configuring Grub boot sector and menu...
Using /sbin/grub binary...
Do you want to edit the grub menu file (y/n) n
cp: cannot create regular file `/root/DL/devil-linux-1.6.0-RC1-2011-11-09-x86_64/tmp-install2usb/disk-mnt/boot/grub/': Is a directory
This works with the 32-bit 1.6.0-RC1-2011-11-09-server version.
|Additional Information||As per 0000117, there is no option to choose Product Version 1.6|
|Tags||No tags attached.|
|grub is now working in 1.6, but the install-on-usb script needs more changes in order to work with grub-1.99|
DL-1.6-RC1 Grub2 Install
[I am posting this initial by-hand investigation to allow others to continue if I have to take extended leave of absence for medical reasons.]
References used in this investigation
 https://wiki.archlinux.org/index.php/GRUB2#Installation [^]
 http://www.gnu.org/software/grub/manual/grub.html [^]
Development system is a laptop with 256MB RAM and an IDE disk partitioned as follows:
/dev/hda1 700 MB ext2 for grub, bootcd.iso, vmlinuz, etc
/dev/hda2 100 MB ext2 for etc-mods.tar.bz2
/dev/hda3 512 MB swap (twice physical RAM)
 Boot from DL-1.6-RC1 CD and run install-on-usb script to install on /dev/hda. Select "grub" as bootloader and allow to complete with "help needed" errors.
 Install Grub 0.97 by hand to get a bootable system.
 Remove boot cd and boot into system installed on hda.
 Remount "/shm/var/adm/boot" as "read write" to allow modification to the grub subdirectory.
 Create the device map file. Run:
"grub-mkdevicemap -n -m /shm/var/adm/boot/boot/grub/device.map"
 To setup grub2-bios in the 440-byte Master Boot Record boot code region, populate the /boot/grub directory, generate the /boot/grub/core.img file, and embed it in the 32 KiB post-MBR gap run:
"grub-install --boot-directory=/shm/var/adm/boot/boot --no-floppy --recheck --debug /dev/hda"
where /dev/hda is the destination of the installation (in this case the MBR of the IDE disk).
 Create grub.cfg from menu.lst as follows:
 In creating grub.cfg from menu.lst I found the partition numbers were adrift. I had to edit grub.cfg and change "/dev/hda2" to "/dev/hda1". Not sure why this occured.
 Reboot and Grub2 loaded vmlinuz just fine.
In brief, the three commands in 5,6, and 7 above may be all that need to be added to install-on-usb.
|2011-11-20 01:49||shfralph||New Issue|
|2011-12-09 13:07||Smiley73||Assigned To||=> Smiley73|
|2011-12-09 13:07||Smiley73||Status||new => confirmed|
|2011-12-18 21:26||Smiley73||Note Added: 0000202|
|2012-01-06 02:03||shfralph||Note Added: 0000214|
|Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group|