Jump to content











Photo

Boot ubuntu live cd in Grub4Dos from internal Hard disk


  • Please log in to reply
3 replies to this topic

#1 Pranavg

Pranavg

    Newbie

  • Members
  • 18 posts
  •  
    India

Posted 09 June 2013 - 03:41 PM

Hi Friends, I am trying to boot ubuntu 12.04 Live cd stored in my internal HDD(not a USB) at root of C partition. (C:\ubuntu.iso)

 

Also, C partition is an NTFS partition.

 

I tried it like this in my menu.lst as:

 

 

title Ubuntu Live
find --set-root /ubuntu.iso
map /ubuntu.iso (0xff) || map --mem /ubuntu.iso(0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu.iso quiet splash --
initrd /casper/initrd.lz
boot
 
But Grub4Dos says the Device partition is not correct or something like that. 
 
Please Help.

Edited by Pranavg, 09 June 2013 - 03:55 PM.


#2 Pranavg

Pranavg

    Newbie

  • Members
  • 18 posts
  •  
    India

Posted 09 June 2013 - 03:57 PM

Also Tried it like this:
*********************************************************************************************************************
title Ubuntu Live
map --unmap=0:0xff
map --unhook
root (hd0,0)
map /ubuntu.iso (0xff) || map --mem /ubuntu.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu.iso quiet splash --
initrd /casper/initrd.lz
boot
****************************************************************************************************************************
But it just hangs after the line loading initrd. 
I also wanted to ask if we can somehow chainload the isolinux bootloader from the ubuntu iso.


#3 Pranavg

Pranavg

    Newbie

  • Members
  • 18 posts
  •  
    India

Posted 09 June 2013 - 04:44 PM

Also, Tried this :

 

title Ubuntu Live
map --unmap=0:0xff
map --unhook
root (hd0,0)
map /ubuntu.iso (0xff) || map --mem /ubuntu.iso (0xff)
map --hook
chainloader (0xff)
 
Now the livecd boots but it shows error like this:
/dev/sr0 not found.
/dev/sdc not found. 
 
Please Help.

Edited by Pranavg, 09 June 2013 - 04:44 PM.


#4 DarknessAngel

DarknessAngel

    Member

  • Members
  • 33 posts
  •  
    South Korea

Posted 09 June 2013 - 05:17 PM

i success this by copy all files from iso to harddisk and set 'kernel' and 'initrd' (i don't know why it only work from disk's 1nd partiton)






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users