LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-14-2009, 04:02 AM   #1
intekin
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Booting Mandriva2010 from an external usb hard drive


I am new to linux and this is my first linux installation
.

I have windows vista already installed on my internal hard drive and i installed mandriva on the external usb drive. Since I already had some data on the external drive, I created two partition and installed mandriva on the second partition. I also installed mandriva default(GRUB) bootloader to the first partition of my external hard drive. The OS ran perfectly for the first few times .ie. i was able to boot to mandriva form my usb drive by changing the boot device ,as well as to vista when I set internal drive as the boot device.

When I plugged in my external drive again and tried to boot form it, the boot timed out and the system booted from the internal drive (.ie. to vista).
The only difference which happened from the first few runs and now is the order of the usb drives. i have one more usb storage media and it was also plugged in during the initial installation and run.

Is there any way I can boot to mandriva from the externall usb hard drive the same way as it happened the first few times? I also want to be able to boot from the external HDD on any computer which supports usb booting to mandriva when I plug the drive in.

Thank You
 
Old 12-14-2009, 09:27 PM   #2
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
I'm not sure but you can check me on this.
When you set the boot drive in BIOS, it becomes drive 0 to grub. There must be a bootloader in the MBR of your boot drive in order to boot an OS, so I think you must have installed grub to the MBR of the usb drive, no?
It might work to modify /boot/grub/menu.lst on your Mandriva installation to have the proper grub name for the root partition, be sure that grub is installed to the MBR of that drive, and set that drive as the boot drive in BIOS.

So, if the second partition, where you installed Mandriva, is the second primary partition, it would be (hd0,1) in grub speak, when that disk is the first disk. Usually, the installer will make an extended partition after there is already one primary partition, in order to preserve the limited number of primary partitions. So, the second partition is extended and the first logical partition is 5, (hd0,4) in grub speak.

If this analysis is correct, menu.lst can be edited from a linux livecd and grub run from that same session to install grub to the MBR of that disk. If you installed from the ONE livecd, you could use that. If you installed from the DVD, it has a rescue session where this can be done in console mode. If you want to try, I could advise, once knowing what you can boot with, linux-wise.
 
Old 12-15-2009, 07:00 AM   #3
Wifi-Fanatux
Member
 
Registered: Mar 2009
Location: Northwest
Distribution: LAPTOP->DreamStudio & Saline-Debian
Posts: 70

Rep: Reputation: 19
Multiple usb devices

If you have more than one usb media device connected to your computer when starting, the BIOS will number the devices in the order it detects them. Sometimes, your external usb drive will be detected first, other times if you have a flash drive also connected, then it might be detected first. When booting from the external drive, make sure it is the only storage type usb device,and you won't run into that problem.

As far as connecting to other machines, you may need to reconfigure the xorg.conf file on some computers. And it also gets more complicated if you have enabled compiz during boot and configured it to run on an ATI graphics card, but the new computer has an nvidia card. If you do need those capabilities, it may be better to run OpenSUSE and have sax2 (OpenSUSE's video configuration application) to restart each time during boot.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange behavior, while booting from an external Hard Drive (USB) vasmakk Linux - Newbie 8 05-03-2009 01:19 AM
External USB Hard Drive and re-booting coreychch Linux - Hardware 1 04-26-2009 04:36 AM
Booting Suse 10.1 From USB External Hard Drive trickster009 Linux - Newbie 2 11-12-2006 02:25 PM
Booting from external USB Hard drive? ArchAngeL13 Linux - Hardware 3 08-11-2006 03:02 PM
Booting from cd, linux on external usb hard drive ruh31 Linux - General 6 05-09-2006 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration