grub na ubuntu po instalacji windows 2003

Ogólne pytania dotyczące systemu
F.E.O.S
Posty: 19
Rejestracja: 14 października 2007, 20:18
Lokalizacja: Kielce

grub na ubuntu po instalacji windows 2003

Post autor: F.E.O.S »

Elo mam taką sprawę mam ubuntu 7.05 i zainstalowałem sobie windows 2003 i po restart ubuntu się nie uruchamia a windows tak jak przywrucić gruba żeby widział ubuntu i windows partycję NTFS robilem GParted z cd Live ubuntu 7,05

moje partycję : /dev/hda

Kod: Zaznacz cały

/dev/hda1 system plików ext3 na tym dysku jest linux

/dev/hda2 System plików NTFS na tym dysku jest windows 2003

/dev/hda3 System Plików extended

/dev/had5 System Plików linux-swap
Prosze o pomoć punkt czeka prosze
Rad
Member
Posty: 1208
Rejestracja: 28 czerwca 2006, 15:05

Post autor: Rad »

Odpal gruba z LiveCD ubuntu i przywróć... Ewentualnie zrób chroot na swój system i odpal update-grub, czy coś takiego.

Ludzie, co to za nowa moda, że ubuntowcy nagle zaczęli pisać o swoich problemach na forum o Debianie?
F.E.O.S
Posty: 19
Rejestracja: 14 października 2007, 20:18
Lokalizacja: Kielce

Post autor: F.E.O.S »

gruba zainstalowałem od nowa ale jak resetuje komputer i wł. boot widzi tylko ubuntu nie ma na liście windows dlaczego
Awatar użytkownika
Yampress
Administrator
Posty: 6366
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

a masz wpisy dla windowsa w grub ?
F.E.O.S
Posty: 19
Rejestracja: 14 października 2007, 20:18
Lokalizacja: Kielce

Post autor: F.E.O.S »

Yampress, już dodałem ale widzi grub jak naciskam windows 2003 uruchamia sie boot od nowa
soki
Beginner
Posty: 249
Rejestracja: 27 października 2007, 21:18
Lokalizacja: Matrix

Post autor: soki »

Spróbuj zainstalować Gruba z płytki Debiana(przejdź od razu do punktu "instalacja gruba")
F.E.O.S
Posty: 19
Rejestracja: 14 października 2007, 20:18
Lokalizacja: Kielce

Post autor: F.E.O.S »

mi widzi teraz widowsa grub tylko odnowa sie uruchaia boot jak naciisne windows
mlyczek
Junior Member
Posty: 979
Rejestracja: 02 sierpnia 2006, 19:17

Post autor: mlyczek »

F.E.O.S pisze:przywrucić
1. Używaj czasami przycisku pisownia jak piszesz posta, bo robisz błędy ortograficzne.

2. Pisz ze znakami przestankowymi (czyli . , ]

Pokaż nam tutaj swój plik menu.lst z folderu /boot/grub
F.E.O.S
Posty: 19
Rejestracja: 14 października 2007, 20:18
Lokalizacja: Kielce

Post autor: F.E.O.S »

pokazuję mi że partycja /dev/hda1 jest odmontowana pokazuję komunikat co to jest za błąd

Kod: Zaznacz cały

mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Kod: Zaznacz cały

# 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		x

## 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 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# 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=UUID=e5261140-2848-484e-8e85-8ad8c356d010 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## 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 locale=pl_PL

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) 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.20-16-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-16-generic root=UUID=e5261140-2848-484e-8e85-8ad8c356d010 ro quiet splash locale=pl_PL
initrd		/boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-16-generic root=UUID=e5261140-2848-484e-8e85-8ad8c356d010 ro single
initrd		/boot/initrd.img-2.6.20-16-generic

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

title      Windows 2003 Server 
root      (hd0,1)
savedefault
makeactive
chainloader   +1

### END DEBIAN AUTOMAGIC KERNELS LIST
fnmirk
Senior Member
Posty: 8273
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

należałoby postawić znaczek ,,#'' przy pozycji --- hiddenmenu

oraz ustawić czas timeout wstawiając w miejsce znaku ,,x'' wartość np.: 50

zostanie wtedy wyświetlone menu wyboru systemu

dobrze by było też usunąć znak ,,#'' na początku linijki w której widnieje tekst: '# howmany=all'

korzystając z programu GParted uruchomionego z jakiejś dystrybucji LiveCD należy sprawdzić i ewentualnie ustawić flagę boot najlepiej na partycji primary --- podejrzewam, że jest to w tym wypadku partycja z Windows.

Uruchamiamy Linuksa i jako root lub sudo wydajemy polecenie:

Kod: Zaznacz cały

update-grub
brak błędu oznacza prawidłowe działanie
ODPOWIEDZ