LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-23-2006, 03:30 PM   #16
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52

Quote:
Originally Posted by Frank Soranno
Error 15 FILE Not Found
Here's the /boot/grub/menu.lst

title Ubuntu, kernel 2.6.12-9-amd64-k8
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-amd64-k8 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-amd64-k8
First thing I noticed was the "root (hd0,0)" entry, shouldn't it be "root (hd0,1)" for primary slave?
Also, I think I know why cfdisk failed, it maybe because fedora is setup using lvm. Not a problem, just observation notes!
 
Old 05-23-2006, 04:53 PM   #17
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Frank, dual booting often seems tricky at first, so don't get discouraged. Once you get it figured out, it'll make your day.

In any case, not to repeat myself but it's important to figure out what is installed where. I find that the cfdisk command is a really useful tool for answering this question, because it will display information about both your partitions as well as the file system. Do you have a Live CD such as Knoppix, or will the Ubuntu disk all you to boot to the command line? Either way, in order for me to offer suggestions, I need you to be able to run the following commands in Linux, and post the results back here
Code:
cfdisk /dev/hda
cfdisk /dev/hdb
Let's avoid calling the drives the "Windows" drive and the "Linux" drive, and instead, just post up the results of the above commands. (What you should see when you run the command for /dev/hda is that the first partition, /dev/hda1, will be NTFS and the bootable flag will be set.)

On a completely different track, if you don't have anything of importance that would be lost by doing a full reinstall, you could consider blowing away everything and starting over. If you go this route, install Windows first (on the primary master) then Linux (on the slave). As I've mentioned before, Windows expects to be in the first partition of the primary master, and if it's not, it can create complications particularly if dual booting is a relatively new topic. In any case, post back with your progress and good luck with it
 
Old 05-25-2006, 11:11 AM   #18
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Hi dhirsolo, My MB is Biostar Tforce6100 and I have AMD/Sempron/64, I'm running Fedora 5 i386, My master HD is 80 gig Seagate and slave is 20 gig WD, The hdb has Ubunto. I'd like to know how I can use second drive without having to disconnect one or the other to boot into?
 
Old 05-25-2006, 01:04 PM   #19
dhirsolo
Member
 
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Rep: Reputation: 15
Quote:
Originally Posted by Frank Soranno
Hi dhirsolo, My MB is Biostar Tforce6100 and I have AMD/Sempron/64, I'm running Fedora 5 i386, My master HD is 80 gig Seagate and slave is 20 gig WD, The hdb has Ubunto. I'd like to know how I can use second drive without having to disconnect one or the other to boot into?

Pl. Look at the options appear on screen at the boot time. Specially, when it displays the summary of ur processor, hdd etc. e.g. it says press Del for CMOS setting and F9 for boot menu.(normally appear at the bottom of the screen) Or something similiar.

One of my friend have a biostar motherboard, on which P-III is installed and it had same facility to go in Boot menu by pressing F8 key at boot time. And then a list appears showing attached hard disk(s), and select the appropriate option and system will boot from it. So there is a hope that if the biostart had provided these option on a earlier board, it should have still be there in latest systems.

Just take a look at

http://www.biostar.com.tw/news/news....ate=2001/10/02

Hope u will find the appropriate option.

Regards

Last edited by dhirsolo; 05-25-2006 at 01:13 PM.
 
Old 05-25-2006, 01:41 PM   #20
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by J.W.
Frank, dual booting often seems tricky at first, so don't get discouraged. Once you get it figured out, it'll make your day.

In any case, not to repeat myself but it's important to figure out what is installed where. I find that the cfdisk command is a really useful tool for answering this question, because it will display information about both your partitions as well as the file system. Do you have a Live CD such as Knoppix, or will the Ubuntu disk all you to boot to the command line? Either way, in order for me to offer suggestions, I need you to be able to run the following commands in Linux, and post the results back here
Code:
cfdisk /dev/hda
cfdisk /dev/hdb
Let's avoid calling the drives the "Windows" drive and the "Linux" drive, and instead, just post up the results of the above commands. (What you should see when you run the command for /dev/hda is that the first partition, /dev/hda1, will be NTFS and the bootable flag will be set.)

On a completely different track, if you don't have anything of importance that would be lost by doing a full reinstall, you could consider blowing away everything and starting over. If you go this route, install Windows first (on the primary master) then Linux (on the slave). As I've mentioned before, Windows expects to be in the first partition of the primary master, and if it's not, it can create complications particularly if dual booting is a relatively new topic. In any case, post back with your progress and good luck with it
J.W, Can't get cfdisk to work, I get fatal error when in Knoppix terminal when i enter cfdisk, but here's my fdisk -l in my hda;

[root@localhost sbin]# ./fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 31 248976 83 Linux
/dev/hdb2 32 2434 19302097+ 5 Extended
/dev/hdb5 32 2434 19302066 8e Linux LVM
[root@localhost sbin]#
can this help you?

Last edited by Frank Soranno; 05-25-2006 at 02:24 PM.
 
Old 05-25-2006, 02:21 PM   #21
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by dhirsolo
Pl. Look at the options appear on screen at the boot time. Specially, when it displays the summary of ur processor, hdd etc. e.g. it says press Del for CMOS setting and F9 for boot menu.(normally appear at the bottom of the screen) Or something similiar.

One of my friend have a biostar motherboard, on which P-III is installed and it had same facility to go in Boot menu by pressing F8 key at boot time. And then a list appears showing attached hard disk(s), and select the appropriate option and system will boot from it. So there is a hope that if the biostart had provided these option on a earlier board, it should have still be there in latest systems.

Just take a look at

http://www.biostar.com.tw/news/news....ate=2001/10/02

Hope u will find the appropriate option.

Regards
Thank you, But the bios is fine it has both Master and Slave detected and has auto detect also, that's not the problem, but thanks for input. Frank
 
Old 05-25-2006, 02:22 PM   #22
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally Posted by Frank Soranno
Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 31 248976 83 Linux
/dev/hdb2 32 2434 19302097+ 5 Extended
/dev/hdb5 32 2434 19302066 8e Linux LVM
[root@localhost sbin]#
can this help you?
I think hdb1 is a /boot partition, in which case put this in your /boot/grub/menu.lst:
Code:
title Ubuntu, kernel 2.6.12-9-amd64-k8
root (hd0,1)
kernel /vmlinuz-2.6.12-9-amd64-k8 ro quiet splash
initrd /initrd.img-2.6.12-9-amd64-k8
Let us know if it gets any further through the boot process

edit: it looks to me ubuntu is using lvm too, could be a problem if you can't find out what the "log" device is.

Last edited by Tuttle; 05-25-2006 at 02:29 PM.
 
Old 05-25-2006, 03:50 PM   #23
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
OK, Guys what if I leave hda (Fedora) as the Master and format hdb and make 1 partition solely for the Ubunto or any other distro I like. How do I install new distro on hdb? Hope this solution works?
 
Old 05-25-2006, 06:43 PM   #24
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
1. make sure to note down the contents of fedoras /boot/grub/menu.lst

2. make sure you use grub when you install something on the secondary master hdb (and choose to install grub to /dev/hda MBR)

3.copy the contents of fedora's entry into the new distro's /boot/grub/menu.lst

Your grub loader will then look at the menu.lst in the new distro (hdb)
Good luck, and enjoy

Last edited by Tuttle; 05-25-2006 at 06:47 PM.
 
Old 05-26-2006, 02:46 PM   #25
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Tuttle, I'm not sure how to go about what you have said? Please explain as I'm now very confused.I spent about 10 hours today redoing everything I had done .
1) I installed win xp on my first drive hda
2) I installed fedora 5 on top of win xp hda
3) Next I installed Fedora on second drive hdb
Now I can only see fedora and win xp on (Grub)boot up.
How do I get to the second drive to boot?
 
Old 05-27-2006, 04:57 PM   #26
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I am now confused too!
do you mean you have winxp AND fedora on hda with another copy of fedora on hdb?
If so, simply edit /boot/grub/menu.lst on the fedora you CAN boot into, and add an identical boot entry for hdb making the "root (hd0,0)" entry "root (hd0,1)", you understand what I mean?

ps. you can edit menu entries at boot time, at the grub menu, press "e" to edit an entry (i think)

Last edited by Tuttle; 05-27-2006 at 05:00 PM.
 
  


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
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:19 AM.

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