Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th November 2006, 01:02 PM
ghell Offline
Registered User
 
Join Date: Nov 2006
Posts: 62
Installing FC6 to USB external hard drive

I have a Twinhead R15B Laptop and a 120GB 2.5" Samsung HM120JC in an external enclosure, connected by USB.

I want to boot windows from my internal hard drive and zod from my external drive. I also want the external drive to remain useful as an external drive (ie have a 20gig partition for zod and the rest just as a normal empty drive). I want the laptop to be bootable when the external drive is not plugged in, so I can't put GRUB on the internal drive's MBR. The installer only gave me an option of installing grub on the internal drives MBR or not at all, so I chose not at all.

The laptop has the following boot sequence:
Removable Drive
Optical Drive
Hard Drive
Network

Nothing can be added or removed from this, but things can be switched around. Connecting the external drive to my main PC gets "Samsung HM120JC" in the boot list, and booting from that says "Grub Loading 1.5 .... error 15 (or error 17, doesnt matter anyway I think) but the laptop remains on "Removable Drive" and when that boot option is selected it tries to boot for a few seconds then falls back to the next item in the sequence.

So I put "GRUB for NTLDR" on my internal drive and modified the windows boot.ini etc according to this guide:
http://marc.herbert.free.fr/linux/wi...ml#grub-for-nt

the fedora installer said:
- sda2 = /boot (102mb)
- sda3 = / (~20gb)
- sda1 = free space used for standard external hard drive stuff (~90gb ntfs))

my menu.lst after installing fedora to the external drive:
Code:
title Fedora Core 6
kernel (hd1,0)/vmlinuz-2.6.18-1.2798.fc6 root=/dev/sda3
initrd (hd1,0)/initrd-2.6.18-1.2798.fc6.img
but this displays:
Code:
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
it says this for pretty much anything i put in as the root=... appart from sda1 which it gets past there but then complains that it can't find /dev/console

What can I do to get this working? If I have gone totally wrong somewhere how can I get it working from scratch?

Last edited by ghell; 8th November 2006 at 01:12 PM.
Reply With Quote
  #2  
Old 8th November 2006, 02:49 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by ghell
The installer only gave me an option of installing grub on the internal drives MBR or not at all, so I chose not at all.
Hello:
You are probably missing some essential files as a result of not installing grub.

You will probably have to make an initrd
to do so
boot from the install disc and select linux rescue and at the last prompt
type
chroot /mnt/sysimage
then
mkinitrd /boot/initrd-2.6.18-1.2798.fc6.img 2.6.18-1.2798


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 8th November 2006, 05:21 PM
ghell Offline
Registered User
 
Join Date: Nov 2006
Posts: 62
Are you sure about this? I only found the file names of vmlinuz and initrd to change the menu.lst by plugging the drive into my x86_64 zod pc, which automatically mounted /boot and the 90gb ntfs partition (though I couldnt open the ntfs partition because its a fresh install too) then looking through the mounted /boot partition and seeing the files there... so I'm relatively sure that the files are on the /boot partition, but it seems to have a problem with /

When I had the wrong file names (from that tutorial, which isnt distribution specific) I couldnt get anywhere near this far.
Reply With Quote
  #4  
Old 8th November 2006, 08:18 PM
james419 Offline
Registered User
 
Join Date: Nov 2005
Location: Seaford, DE
Age: 75
Posts: 77
For installing and booting FC from USB see the following thread:

http://forums.fedoraforum.org/showthread.php?t=108672

This is a very good instruction of how to do it. You must have some type of bootloader located in the MBR of the external drive and the BIOS set to boot fromt thae external drive before the internal.
__________________
Jim - Seaford, DE USA
FC 5, Mandriva 2006 and SUSE 10.1 on a USB drives.
Reply With Quote
  #5  
Old 8th November 2006, 08:19 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by ghell
Are you sure about this?
Hello:
No, I am rarely sure about anything, other than the sun coming up, it was a suggestion and since you have the files included already then we can throw that idea out the window.

Did you use lvm when you installed FC?


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #6  
Old 8th November 2006, 09:15 PM
ghell Offline
Registered User
 
Join Date: Nov 2006
Posts: 62
Yes its all logical volumes (i was too lazy/scared to manually do all the partitions so i just made a 20gig partition from windows, then partitioned the rest, deleted the 20gig and did install using the default layout to free space (ie the 20gig unpartitioned space at the start of the drive) from the fedora installer.)

That thread james linked to does kind of state my problem:
Quote:
If you end up installing on the first boot sector you will get either just a GRUB prompt or a kernel panic when you try and boot the drive.
but as i said before, it didnt give the option to install to any MBR other than the hda one and also trying to naturally boot from the removable media didnt do anything (probably because it didnt have an option to put it on the removable media's MBR) I have also tried to unallocate the entire drive and just go with installing over the whole drive as a default install just to make things simpler but still no dice..

I don't want to kill windows or even force the laptop to be booted with the external drive always plugged in because I've done it wrong in the end.
Reply With Quote
  #7  
Old 8th November 2006, 09:20 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
If you used lvm then I am pretty sure you will need to change your bootloader entry
from
Quote:
title Fedora Core 6
kernel (hd1,0)/vmlinuz-2.6.18-1.2798.fc6 root=/dev/sda3
initrd (hd1,0)/initrd-2.6.18-1.2798.fc6.img
to reflect the lvm
this is mine with lvm
PHP Code:
title Fedora Core (2.6.18-1.2798.fc6)
    
root (hd1,0)
    
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd 
/initrd-2.6.18-1.2798.fc6.img 
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #8  
Old 8th November 2006, 11:08 PM
ghell Offline
Registered User
 
Join Date: Nov 2006
Posts: 62
That worked great, thanks!

Now I just have to find out how to connect to my WAP PSK network and I'm flying

Thanks again for everything
Reply With Quote
  #9  
Old 8th November 2006, 11:11 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Hey .... good stuff

Glad you got it sorted out.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
drive, external, fc6, hard, installing, 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
Installing Fedora8 on a external hard drive fedorean Installation and Live Media 2 23rd March 2008 09:54 AM
Installing onto a USB External Hard Drive tazz72 Installation and Live Media 2 13th January 2006 05:30 AM
Installing from external hard drive dansnell Mac Chat 3 21st September 2005 09:17 PM


Current GMT-time: 20:47 (Saturday, 18-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