Welcome, Guest. Please login or register.
+  Linux Soft Forum
|-+  Cercetează» Întrebări de bază» Boot loader Conf... 2HDD
[Picture 161] [Picture 160] [Picture 159]
Username:
Password:
 
Pages: [1]   Go Down
  Print  
Author Topic: Boot loader Conf... 2HDD  (Read 1415 times)
0 Members and 1 Guest are viewing this topic.
steelheart
Membru
*


« on: September 22, 2007, 08:05:19 AM »

Am doua HDD-uri unu e pe IDE-1 master iar celalalte e pe SATA-1.
Pe hdd-ul ide am windows iar pe cel Sata am gentoo.

Daca vreau sa bootez pe hdd-ul IDE trebuie sa setez in bios ca acesta sa fie 1st HDD la fel daca vreau sa botez  pe  hdd-ul SATA.

acesta este grup.conf-ul :

Code:
default 0
timeout 30
#splashimage=(hd0,0) /boot/grub/splash.xmp.gz

title=Gentoo Linux 2.6.22-r5
root=(hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.22-gentoo-r5 root=/dev/ram0 init/linuxrc $
initrd /boot/initramfs-genkernel-x86-2.6.22-gentoo-r5

Cum pot configura grub in asa fel incat cand bootez sa nu mai fiu nevoit sa intru in bios pt a intra pe unul dintre S.O. dorite ?
Si pe care dintre hdd-uri sa fie instalat grub ?
Logged

When Bush says "Freedom" it means "Conquer".
When Gates says "Freedom" it means "Feedom".
But when Stallman says "Freedom" it means "Freedom".
unixlust
Membru
*


« Reply #1 on: September 22, 2007, 09:36:01 AM »

Pai adaugi o intrare pentru Windows in menu.lst

Code:
title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1

Unde (hd0,1) inseamna primul harddisk (0+1=1), partitia cu numarul 2 (1+1=2). Modifici pentru cazul tau.
Logged

my blog

And on the 8th day, God gave the people Google so that all the problems of the universe could be researched from one central place. And it was good.
steelheart
Membru
*


« Reply #2 on: September 22, 2007, 03:55:10 PM »

am tot incercat ... si nu merge  wallbash

In bios e setat hdd-ul SATA 1st (dev/sda) iar cel IDE e 2nd (dev/hda)

Code:
default 0
timeout 30
#splashimage=(hd0,0) /boot/grub/splash.xmp.gz

title=Gentoo Linux 2.6.22-r5
root=(hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.22-gentoo-r5 root=/dev/ram0 init/linuxrc $
initrd /boot/initramfs-genkernel-x86-2.6.22-gentoo-r5

title=WinShitXP
rootnoverify (hd0,1)
makeactive
chainloader +1

am incercat si
Code:
title Windoze
  rootnoverify (hd0,0)
  chainloader (hd0,0)+1
am incercat si
Code:
title Windoze
  rootnoverify (hd0,0)
  chainloader (hd0,0)+1

am incercat sa vad si cum vede grub hdd-urile :
Code:
# grub-install --recheck /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/sda
am incercat sa pun la root=(hd1,0) dar nu merge....

/boot/grub/grub.conf e pe /dev/sda1 ; sda - fiind primul disk SATA
celalalt IDE e pe master dar e setat din bios 2nd hdd
« Last Edit: September 22, 2007, 03:56:04 PM by steelheart » Logged

When Bush says "Freedom" it means "Conquer".
When Gates says "Freedom" it means "Feedom".
But when Stallman says "Freedom" it means "Freedom".
Saltwater
Veteran
**

Whatever™


WWW
« Reply #3 on: September 22, 2007, 06:30:49 PM »

Ai incercat sa lasi pe SATA ca fiind primar (hd0) iar in GRUB (menu.lst) sa pui:

Code:
title=Windblows
rootnoverify (hd1,0)
makeactive
chainloader +1

?

- banuiesc ca ai XP-ul instalat pe prima partitie (C:) a HDD-ului de pe IDE.

Later: sau ai putea incerca sa lasi primar hardul pe IDE si sa butezi gentoo folosind NTLDR. http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_(NTLDR)_and_why - eu m-am luat dupa asta cand mi-am separat NTLDR-ul si GRUB-ul de MBR in care am pus un GAG si am pus cate un entry de chainload in fiecare din cele doua (NTLDR face chainload la GRUB si opus - daca ma razgandesc brusc si vreau cumva celalalt boot loader).
« Last Edit: September 22, 2007, 06:35:05 PM by Saltwater » Logged



Astazi nu am semnatura.
wonder
Veteran
**


WWW
« Reply #4 on: September 22, 2007, 07:35:52 PM »

cum zicea si Saltwater problema a plecat din start prost. Daca ai "In bios e setat hdd-ul SATA 1st (dev/sda) iar cel IDE e 2nd (dev/hda)" in menu.lst trebuie sa setezi:
Code:
title=Windows Xp
rootnoverify (hd1,0)
makeactive
chainloader +1
Daca nici asa nu merge poti incerca:
Code:
title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

Explicatie numerotare partitii in grub:
Code:
root (hdx,y)
setup (hdx)
x normal         y normal
0 sda/hda 0 sda1/hda1
1 sdb/hdb 1 sdb2/hdb1
2 sdc/hdc 2 sdc3/hdc1

« Last Edit: September 22, 2007, 07:40:05 PM by wonder » Logged

Give what you have. To someone, it may be better than you dare to think.
My blog wonder.rodp.net
steelheart
Membru
*


« Reply #5 on: September 22, 2007, 08:01:54 PM »

varianta care functioneaza
Code:
title=WinShitXP
rootnoverify (hd1,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)

Multumesc pentru indicatii Smiley
« Last Edit: September 22, 2007, 08:02:28 PM by steelheart » Logged

When Bush says "Freedom" it means "Conquer".
When Gates says "Freedom" it means "Feedom".
But when Stallman says "Freedom" it means "Freedom".
Pages: [1]   Go Up
  Print  
 
Jump to: