grub2 and ntpasswd from iso

Post in this forum for problems at boot time, if there was no problem for burning the disc. For example can't find the CD, or strange errors when you press enter at the very first prompt.
rbeede
Posts: 48
Joined: 16 May 2008, 21:10
Location: U.S.A.
Contact:

grub2 and ntpasswd from iso

Postby rbeede » 19 Jan 2012, 02:26

So I'm using grub2 to boot from an iso on a usb disk.

I get System Rescue CD to work great, but ntpasswd does not. It seems that grub 1 supports multiple initrd images concatenated together, but grub2 doesn't.

This is what I've tried:

Code: Select all

menuentry "System Rescue CD NTPASSWD" {
   loopback loop $isofullpathname
   
   linux (loop)/ntpasswd/vmlinuz rw
   initrd (loop)/ntpasswd/initrd.cgz
   initrd (loop)/ntpasswd/scsi.cgz
}


This does boot and run ntpasswd, but the scsi device drivers are missing. http://en.gentoo-wiki.com/wiki/Initramf ... _initramfs seems to imply that this is possible, but I can't find a grub2 syntax for it.

Grub 1 per Gentoo-wiki

Code: Select all

title=Gentoo Linux 2.6.27-r8 with initramfs (hd0,0)
root (hd0,0)
kernel /boot/kernel-2.6.27-gentoo-r8
initrd /boot/first-initramfs.cpio.gz
initrd /boot/second-initramfs.cpio.gz
initrd /boot/third-initramfs.cpio.gz



Any ideas?

rbeede
Posts: 48
Joined: 16 May 2008, 21:10
Location: U.S.A.
Contact:

Re: grub2 and ntpasswd from iso

Postby rbeede » 24 Jan 2012, 03:29

I filed a feature request to have grub2 support this like grub-legacy does. It has been added to the trunk code for a later release.

gernot
Posts: 1112
Joined: 07 Apr 2010, 16:19

Re: grub2 and ntpasswd from iso

Postby gernot » 24 Jan 2012, 05:24

Thanks for info.
I wonder about the removed option in GRUB2.

Gernot


Return to “Boot problems”

Who is online

Users browsing this forum: No registered users and 2 guests