1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
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
Reporter shfralph View Status public  
Assigned To Smiley73
Priority normal Resolution open  
Status confirmed   Product Version 1.4
Summary 0000118: 1.6.0-RC1-2011-11-09-x86_64-server install-on-usb fails to install grub
Description 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
Install failed!

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.
Attached Files

- Relationships

-  Notes
(0000202)
Smiley73 (administrator)
2011-12-18 21:26

grub is now working in 1.6, but the install-on-usb script needs more changes in order to work with grub-1.99
(0000214)
shfralph (reporter)
2012-01-06 02:03

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

[1] https://wiki.archlinux.org/index.php/GRUB2#Installation [^]
[2] 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)

[1] 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.

[2] Install Grub 0.97 by hand to get a bootable system.

[3] Remove boot cd and boot into system installed on hda.

[4] Remount "/shm/var/adm/boot" as "read write" to allow modification to the grub subdirectory.

[5] Create the device map file. Run:

     "grub-mkdevicemap -n -m /shm/var/adm/boot/boot/grub/device.map"

[6] 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).

[7] Create grub.cfg from menu.lst as follows:

     "grub-menulst2cfg /shm/var/adm/boot/boot/grub/grub.cfg"

[8] 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.

[9] 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.

Regards -Steve.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker