Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st December 2008, 09:09 PM
cenomanien Offline
Registered User
 
Join Date: Apr 2007
Location: Sablé (72), France
Posts: 30
Can not create initrd.img file for F10 on USB disk drive

Hello,

I moved my laptop internal disk drive to a USB enclosure.
This disk (external by now) is partionned as follows :
Code:
# fdisk -l /dev/sdb

Disk /dev/sdb: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x69f807c0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         243     1951866   1b  Hidden W95 FAT32
/dev/sdb2   *         244        2155    15358140    7  HPFS/NTFS
/dev/sdb3            2156        3461    10490445   83  Linux
/dev/sdb4            3462       12161    69882750    5  Extended
/dev/sdb5            3462        3723     2104483+  82  Linux swap / Solaris
/dev/sdb6            3724        8947    41961748+  83  Linux
/dev/sdb7            8948       10253    10490413+  83  Linux
/dev/sdb8           10254       12161    15325978+  83  Linux
This disk contains an up-to-date F10 64-bit on /dev/sdb7 from which I want to be able to boot (keeping in mind that my laptop can boot from an USB disk drive).

In order to do so, I booted from the Fedora-10-x86_64-DVD in rescue mode; then chrooted to /dev/sdb7 mounted on /mnt/sysimage and tried to modify the /boot/initrd.img file to my needs :
Code:
# mkinitrd --with-usb --preload=ehci-hcd --preload=uhci-hcd --preload=ohci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod /boot/initrdusb.img 2.6.27.5-117.fc10.x86_64
I can not locate the newly created initrdusb.img in /boot nor anywhere. It seems that the mkinitrd command does not create any file.
I tried the mkinitrd command without the --with-usb option to no avail.

I am stuck now with no initrd.img file created !
Anybody with an idea on how to come unstuck ?

Cheers
Reply With Quote
  #2  
Old 8th June 2009, 12:45 PM
feduser09 Offline
Registered User
 
Join Date: Jun 2009
Posts: 2
Cannot create initrd image for F10 X86_64 on external USB drive

I am facing exactly the same problem when installing fedora 10 on external USB drive. Kindly reply if anybody has answers to this problem.
Reply With Quote
  #3  
Old 9th June 2009, 09:58 AM
cenomanien Offline
Registered User
 
Join Date: Apr 2007
Location: Sablé (72), France
Posts: 30
Quote:
Originally Posted by feduser09 View Post
I am facing exactly the same problem when installing fedora 10 on external USB drive. Kindly reply if anybody has answers to this problem.
I eventually managed to generate a working initrd_usb_disk.img from a running Fedora 10 x86_64 installation.
You need an up-to-date system (i.e. mkinitrd).

If no success, explain what you are doing - I very much doubt you have exactly the same problem (same disk, same kernel, etc.).

Cheers
Reply With Quote
  #4  
Old 22nd June 2009, 01:15 PM
feduser09 Offline
Registered User
 
Join Date: Jun 2009
Posts: 2
Installed f10 finally

Thanks a lot for the immediate reply. I managed to install F10 without creating a mkinitrd image . After failing with mkinitrd creation, i moved to grub setup to hd0. and it fedora booted into text mode. Then i solved the issue with nvidia drivers and finally booted into fedora. Thanks a ton for your timely asistance.

Last edited by feduser09; 22nd June 2009 at 01:19 PM. Reason: More informative
Reply With Quote
Reply

Tags
create, disk, drive, f10, file, initrdimg, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where is the source code for initrd on the install disk robin3123 Using Fedora 2 18th June 2008 08:36 PM
VMware current amount free spacenot enough create specified disk file gwiesenekker Using Fedora 2 23rd March 2008 12:02 PM
create an initrd image aalex77 Using Fedora 2 11th March 2006 09:31 PM
Can you help me to create boot-disk on USB thumb-drive ? pratchaya Installation and Live Media 3 25th January 2006 08:00 PM
Can you help me to create boot-disk on USB thumb-drive ? pratchaya Using Fedora 1 24th December 2005 04:52 AM


Current GMT-time: 02:48 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat