Kirjoittaja Aihe: Slave IDE:n ubuntu näkymään winin buuttilistassa tai toisinpäin  (Luettu 3571 kertaa)

Rautamiekka

  • Käyttäjä
  • Viestejä: 439
    • Profiili
Kuten otsikko jo sanoo, sain juuri ubuntun asentumaan Slave IDE-kovolle (ei ole masteria lainkaan ja kyseisen aseman conffaaminen masteriksi ei ole ihan niin helppoa) ja se täytyisi saada näkymään winin buuttilistassa tai windowsin näkymään ubuntun GRUB:issa. HUOM: buuttilistassa on myös valinta joka näyttää eri bootscreenin kuin perustylsän windows xp:n.
Koodia: [Valitse]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional (bootscreen)" /noexecute=optin /fastdetect /KERNEL=kernel1.exe
Katsoin ubuntuguidesta mutta en uskalla tehdä sen ohjeen mukaan kun en tiedä mitä saa ja pitää muuttaa. Levy näkyy sda:na ubuntussa.

petri0

  • Käyttäjä
  • Viestejä: 247
    • Profiili
Olen jossakin nähnyt että Windowsin buuttilistaa voi muunnella mutta enpä muista kuinka tai missä.

Windows pitäisi kyllä näkyä Grubin listassa alimmaisena, eikö tosiaankaan näy? Grubille ei ole väliä millä levyllä ne eri OS:t on.

Jos ei näy ja käsket päätteessä
Koodia: [Valitse]
sudo update-grub niin sitten pitäisi. Jos ei onnista niin liitä seuraavaan viestiisi mitä sanoo
Koodia: [Valitse]
sudo fdisk -l (siinä on pieni -L) ja
Koodia: [Valitse]
gedit /boot/grub/menu.lst

Rautamiekka

  • Käyttäjä
  • Viestejä: 439
    • Profiili
Aivan joo ! Ei tietenkään näy listassa kun otin SATA:n irti varmuudeksi ettei ubuntun asennus voisi sille tehdä ylimääräisiä.
Kaikki osiot ja levyt näkyvät sudo fdiskillä.

Rautamiekka

  • Käyttäjä
  • Viestejä: 439
    • Profiili
jouni@jouniubuntu:~$ sudo update-grub
Password:
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.15-26-386
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

jouni@jouniubuntu:~$ sudo fdisk -l

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2479    19912536    7  HPFS/NTFS
/dev/sda2            2480       24321   175445865    7  HPFS/NTFS

Disk /dev/hdb: 8622 MB, 8622931968 bytes
255 heads, 63 sectors/track, 1048 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        1001     8040501   83  Linux
/dev/hdb2            1002        1048      377527+   5  Extended
/dev/hdb5            1002        1048      377496   82  Linux swap / Solaris

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       30515   245111706    7  HPFS/NTFS
/dev/sdb2               1           1           0    0  Empty

petri0

  • Käyttäjä
  • Viestejä: 247
    • Profiili
No nyt alkoi hauskanpito, SATA ja IDE samassa purkissa  ;D

Laita vielä se
Koodia: [Valitse]
gedit /boot/grub/menu.lst niin ehkä joku tietää mitä tehdä.

Rautamiekka

  • Käyttäjä
  • Viestejä: 439
    • Profiili
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 **
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hdb1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title      Ubuntu, kernel 2.6.15-26-386
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.15-26-386 root=/dev/hdb1 ro quiet splash
initrd      /boot/initrd.img-2.6.15-26-386
savedefault
boot

title      Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.15-26-386 root=/dev/hdb1 ro single
initrd      /boot/initrd.img-2.6.15-26-386
boot

title      Ubuntu, memtest86+
root      (hd0,0)
kernel      /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
« Viimeksi muokattu: 12.02.07 - klo:20.48 kirjoittanut Rautamiekka »

petri0

  • Käyttäjä
  • Viestejä: 247
    • Profiili
Täältä löytyi tällainen howto kuinka windowsin boot.iniä voi muuttaa, en ole itse kokeillut joten en lupaa mitään. http://ubuntuforums.org/showthread.php?t=56723

Voit myös ottaa ja asentaa sen Grubin MBR:n LiveCD:n avulla: http://users.bigpond.net.au/hermanzone/p15.htm#Re-install_Grub_with_Live_CD tai sitten AlternateCD:n avulla: http://users.bigpond.net.au/hermanzone/p15.htm#reinstallgrub kumpi sinulla nyt sitten onkaan. Mutta syystä että sinulla on SATA ja IDE niin katso ensin kuinka MBR korjataan: http://users.bigpond.net.au/hermanzone/p15.htm#If_you_want_to_restore_the_Windows_boot_sector

Lue ensin ja tee sitten.