Does anyone know if the GRUB2 fix has been implemented into the daily builds? or if it will be in Alpha 2 of 10.04?
Does anyone know if the GRUB2 fix has been implemented into the daily builds? or if it will be in Alpha 2 of 10.04?
Not a clue but I sure am excited about it. Hope it makes it in time for release.
The Frenchy have always a problem but this one after many installation stay the same
I think the problem is here but I didn't see any response on the forumroot@ubuntu:/# grub-install /dev/isw_diiebajfbe_Volume0ubuntu@ubuntu:~$ ls /dev/mapper
Probing devices to guess BIOS drives. This may take a long time.
/dev/isw_diiebajfbe_Volume0: Not found or not a block device.
control.............................. isw_diiebajfbe_Volume05 ... isw_diiebajfbe_Volume08
isw_diiebajfbe_Volume0.... isw_diiebajfbe_Volume06.... isw_diiebajfbe_Volume09
isw_diiebajfbe_Volume01.. isw_diiebajfbe_Volume07
But for me I don't understand why
the full code is here if it can help
my device.map before and after change if someone can confirm if it's ok toCode:To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@ubuntu:~$ sudo mkdir /mnt/root ubuntu@ubuntu:~$ ls /dev/mapper control isw_diiebajfbe_Volume05 isw_diiebajfbe_Volume08 isw_diiebajfbe_Volume0 isw_diiebajfbe_Volume06 isw_diiebajfbe_Volume09 isw_diiebajfbe_Volume01 isw_diiebajfbe_Volume07 ubuntu@ubuntu:~$ sudo mount /dev/mapper/isw_diiebajfbe_Volume07 /mnt/root ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/root/dev ubuntu@ubuntu:~$ sudo mount -t proc proc /mnt/root/proc ubuntu@ubuntu:~$ sudo mount -t sysfs sys /mnt/root/sys ubuntu@ubuntu:~$ sudo mount -t devpts devpts /mnt/root/dev/pts ubuntu@ubuntu:~$ sudo cp /etc/resolv.conf /mnt/root/etc/resolv.conf ubuntu@ubuntu:~$ sudo chroot /mnt/root /bin/bash root@ubuntu:/# apt-get update Atteint http://fr.archive.ubuntu.com karmic Release.gpg Atteint http://fr.archive.ubuntu.com karmic/main Translation-fr Atteint http://fr.archive.ubuntu.com karmic/restricted Translation-fr Atteint http://fr.archive.ubuntu.com karmic/universe Translation-fr Atteint http://fr.archive.ubuntu.com karmic/multiverse Translation-fr Réception de : 1 http://fr.archive.ubuntu.com karmic-updates Release.gpg [189B] Ign http://fr.archive.ubuntu.com karmic-updates/main Translation-fr Ign http://fr.archive.ubuntu.com karmic-updates/restricted Translation-fr Ign http://fr.archive.ubuntu.com karmic-updates/universe Translation-fr Ign http://fr.archive.ubuntu.com karmic-updates/multiverse Translation-fr Atteint http://fr.archive.ubuntu.com karmic Release Réception de : 2 http://fr.archive.ubuntu.com karmic-updates Release [44,1kB] Réception de : 3 http://security.ubuntu.com karmic-security Release.gpg [189B] Ign http://security.ubuntu.com karmic-security/main Translation-fr Ign http://security.ubuntu.com karmic-security/restricted Translation-fr Ign http://security.ubuntu.com karmic-security/universe Translation-fr Ign http://security.ubuntu.com karmic-security/multiverse Translation-fr Réception de : 4 http://security.ubuntu.com karmic-security Release [44,1kB] Atteint http://fr.archive.ubuntu.com karmic/main Packages Atteint http://fr.archive.ubuntu.com karmic/restricted Packages Atteint http://fr.archive.ubuntu.com karmic/main Sources Atteint http://fr.archive.ubuntu.com karmic/restricted Sources Atteint http://fr.archive.ubuntu.com karmic/universe Packages Atteint http://fr.archive.ubuntu.com karmic/universe Sources Atteint http://fr.archive.ubuntu.com karmic/multiverse Packages Atteint http://fr.archive.ubuntu.com karmic/multiverse Sources Réception de : 5 http://fr.archive.ubuntu.com karmic-updates/main Packages [128kB] Réception de : 6 http://security.ubuntu.com karmic-security/main Packages [45,1kB] Réception de : 7 http://security.ubuntu.com karmic-security/restricted Packages [14B] Réception de : 8 http://security.ubuntu.com karmic-security/main Sources [12,5kB] Réception de : 9 http://fr.archive.ubuntu.com karmic-updates/restricted Packages [14B] Réception de : 10 http://fr.archive.ubuntu.com karmic-updates/main Sources [39,3kB] Réception de : 11 http://security.ubuntu.com karmic-security/restricted Sources [14B] Réception de : 12 http://security.ubuntu.com karmic-security/universe Packages [19,3kB] Réception de : 13 http://fr.archive.ubuntu.com karmic-updates/restricted Sources [14B] Réception de : 14 http://fr.archive.ubuntu.com karmic-updates/universe Packages [77,9kB] Réception de : 15 http://fr.archive.ubuntu.com karmic-updates/universe Sources [18,8kB] Réception de : 16 http://fr.archive.ubuntu.com karmic-updates/multiverse Packages [6 942B] Réception de : 17 http://fr.archive.ubuntu.com karmic-updates/multiverse Sources [3 831B] Réception de : 18 http://security.ubuntu.com karmic-security/universe Sources [3 367B] Réception de : 19 http://security.ubuntu.com karmic-security/multiverse Packages [1 666B] Réception de : 20 http://security.ubuntu.com karmic-security/multiverse Sources [575B] 446ko réceptionnés en 1s (243ko/s) Lecture des listes de paquets... Fait root@ubuntu:/# apt-get purge grub2 grub-pc Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Le paquet grub2 n'est pas installé, et ne peut donc être supprimé Le paquet grub-pc n'est pas installé, et ne peut donc être supprimé 0 mis à jour, 0 nouvellement installés, 0 à enlever et 170 non mis à jour. root@ubuntu:/# rm -r /boot/grub root@ubuntu:/# apt-get install grub Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait grub est déjà la plus récente version disponible. 0 mis à jour, 0 nouvellement installés, 0 à enlever et 170 non mis à jour. root@ubuntu:/# grub-install /dev/isw_diiebajfbe_Volume0 Probing devices to guess BIOS drives. This may take a long time. /dev/isw_diiebajfbe_Volume0: Not found or not a block device. root@ubuntu:/# chmod 777 /boot/grub/device.map root@ubuntu:/# nano /boot/grub/device.map root@ubuntu:/# chmod 744 /boot/grub/device.map root@ubuntu:/# grub --no-curses Probing devices to guess BIOS drives. This may take a long time. [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> grub> device (hd0) /dev/mapper/isw_diiebajfbe_Volume0 grub> device (hd0) /dev/mapper/isw_diiebajfbe_Volume0 Error 27: Unrecognized command(fd0) /dev/fd0If someone have any idea !
(hd0) /dev/sda
(hd1) /dev/sdb
(fd0) /dev/fd0
(hd0) /dev/isw_diiebajfbe_Volume0
other informations
- motherbord : asus P5QPRO
- raid : fakeraid 1 (miror)
- southbridge controller : ICH10R
- HD : 2HD 500Go SATA
- OS : WXP SP3 / maybe Ubuntu in the futur
thanks
Last edited by cedric.driard; January 7th, 2010 at 09:56 PM.
I've read somewhere that the ICH10R chipset and its built-in raid is somewhat flaky in linux. Not sure why it had worked in 9.04 but not 9.10 in your case. I'm gonna take a wild guess here but I would like to believe dmraid can't make sense out of the metadata defining your array. The only way to prove that would be start the array from scratch. I'm sure you dont want to backup all your data and try that just to get linux, I don't blame you. Maybe wait a lil while longer for 10.04 and see if that works for you. It may also be that the command used for device is not english on your sys try typing help at the GRUB CMD line.
Last edited by gilson585; January 8th, 2010 at 06:45 AM.
I tried to install ubuntu since now 2 years (with others problems at starting ), and I really want to use linux
So I would like to try a other method- at the install with the live CD after partitionning HD there is a advance menu where I can chooseIf there is no solution with that, I will be happy to contribute to Linux community (and not only ask questions), I will be ok to scratch all my data (the weather will no be good this week end so I will just have to play snow with my soon), my backup is nearly ok and since I maked a new installation of WXP 2 weeks ago and I didn't take time to install all programs"install boot" on dev/isw_diie..... my raid controleur is detected- if someone have an other idea with no scratch
"install boot" on dev/sda
"install boot" on dev/sdb
- with the tuto https://help.ubuntu.com/community/FakeRaidHowto as like 9.04
But to do this, I would like someone say me what to do precisely in simply english word because I speak well in Windows but not in Linux neither in english however I will better after
Trying is the better way to learn
Last edited by cedric.driard; January 8th, 2010 at 09:42 AM.
cedric - if you see my previous replies, you can see that I've run into a similar issue, as grub-install didn't work with my system either. With an update-grub, and some copying of default grub files, it worked perfectly. I didn't have to bother messing around with the device.map. Check out my previous responss for more details.
(This should probably be added to the walkthrough if grub-install fails).
Before you go and remove everything I want you to look at this http://grub.enbug.org/MirroringRAID?...ght=%28raid%29 now after following my instructions up to step 8 you should try to follow whats in that link. It just may be that me and eveyone else here using raid 0 are fine but raid 1 requires a diff way to do things. Don't leave out step 13 though. Lemme know what happens.
First test
- at the install with the live CD after partitionning HD there is a advance menu where I can choose :"install boot" on dev/isw_diiebajfbe_Volume0 # this is my raid controleurWith this installation on dev/isw_diiebajfbe_Volume0 ubuntu can boot with a menu list but without a Windows choice
"install boot" on dev/sda
"install boot" on dev/sdb
In Ubuntu I can see (I put many things, because I don't now what can I put to be sure the system is ok in raid1) :1. Grub2 is not install but grub 0.97 is install insteadDo you think a can make a test after this installation (for example do this how to, or test if /dev/isw_diiebajfbe_Volume0: Not found or not a block device. is already down or disconnect 1HD to see if the system is ready to boot and the other)
2. In the files navigator program, I see only 1 HDD
3. cedric@cedric-desktop:~$ ls /dev/mappercontrol isw_diiebajfbe_Volume05 isw_diiebajfbe_Volume084. cedric@cedric-desktop:~$ sudo dmraid -s
isw_diiebajfbe_Volume0 isw_diiebajfbe_Volume06 isw_diiebajfbe_Volume09
isw_diiebajfbe_Volume01 isw_diiebajfbe_Volume07*** Group superset isw_diiebajfbe5. cedric@cedric-desktop:~$ sudo dmraid -r
--> Active Subset
name : isw_diiebajfbe_Volume0
size : 976767232
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0/dev/sdb: isw, "isw_diiebajfbe", GROUP, ok, 976773166 sectors, data@ 06. grub> find /boot/grub/stage1
/dev/sda: isw, "isw_diiebajfbe", GROUP, ok, 976773166 sectors, data@ 0(hd0,6)7. cedric@cedric-desktop:~$ sudo gedit /boot/grub/device.map
(hd1,6)(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
Second test Gilson585
I would like to be sure before testing this method, You want I do this ?Third test Neuroticinstall ubuntu
execute the step 1 to the step 8 of your How to
execute the how to http://grub.enbug.org/MirroringRAID?...ght=%28raid%29
execute the step 13 to the step 14 of your How to (here I'm not sure)
I'm not good enough in english and in linux language to try to make a similar test than you (for example I don't understand very well what is the command mount) for the moment
Are you saying you got it to work? There are ways to add windows to the grub menu it's not that big of a deal. So i'm going to ask how you got to this point. Did you just choose /dev/sda for install rather than the /dev/mapper device? Being that it's Raid 1 that kinda makes sense. My suggestion is from an older set of instructions and may not be required in 9.10 if you could just test each disk individually to assure they both work as planned in a mirrored setup that would be great. If they don't we can work on this. I'd like to add the results of this to my how-to so that other users with a mirrored setup don't run into issues. Thanks for your time and effort.
for your first question : I have just do what is writen on my previous post
But I don't like to wait, so I try a other installation with this tuto https://help.ubuntu.com/community/FakeRaidHowto and your tuto to see differences and I think this installation work well (I have a boot with the menu.lst and windows and ubuntu work)
I will post tomorrow what I do exactly and maybe do some test if you want
rapidely, I installed with the live CD without boot sequence (as write at § 3.1.2) and I changed "/target/" to "/mnt/root/" (with a mkdir /mnt/root/ before) and changed "x86_64-pc" to "i386-pc" that all
My full install with this tuto https://help.ubuntu.com/community/Fa...20installer%29
MAKE SURE YOU BACK UP ANYTHING OF IMPORTANCE!!!
This Section shows you how to install Ubuntu using the Ubiquity graphical installer found on the Live CD.
- Modify the bios to boot on the Live CD
- Begin the install process
- creat the raid partition for ubuntu.
- On the last step before installing, click the Advanced options and uncheck the install boot loader option. We will install grub (the boot loader later).
- After installer finishes, close ubiquity installer and reboot the machine.
- Start on the Live CD where you choose use Ubuntu without any change
- Open a terminal
- Now check that you can view the partitions in the raid array with this command
- $ ls -l /dev/mapper/
- OUTPUT: control isw_beeaakeeaa_fivewe will be using the array /dev/mapper/isw_beeaakeeaa_five in this example.
- We used /dev/mapper/isw_beeaakeeaa_five5 partition as Ubuntu root partition in this example.
- Install dmraid and grub in your new Ubuntu installation:
- $ sudo mkdir /mnt/root
- $ sudo mount /dev/mapper/isw_beeaakeeaa_five5 /mnt/root/
- if this fails maybe the /target directory is already mounted if not then some debuging will be required.
- $ sudo mount --bind /dev /mnt/root/dev/
- $ sudo mount -t proc proc /mnt/root/proc/
- $ sudo mount -t sysfs sys /mnt/root/sys/
- $ sudo cp /etc/resolv.conf /mnt/root/etc/resolv.conf
- $ sudo chroot /mnt/root/
- # apt-get update
- # apt-get install -y dmraid
- # apt-get install -y grub
- # mkdir /boot/grub
- # cp /usr/lib/grub/i386-pc/* /boot/grub/
- # grub --no-curses you will now be at the grub prompt grub>
- grub> device (hd0) /dev/mapper/isw_beeaakeeaa_five
- grub> find /boot/grub/stage1
- OUTPUT: find /boot/grub/stage1
(hd0,4)
- make a note of the output from this command it will be needed later. in my case I have my linux partition as the first extended partition you most likely will have different results (remember that grub starts partition numbers in zero, so partition 5 for linux is partition 4 for grub).
- grub> root (hd'x','x')
- replace 'x' with the partition number from the previous step
- Install grub on your disk (or partition if you prefer boot your computer with another boot manager)
- grub> setup (hd'x')
- replace 'x' with the values gathered in the previous step
or
- grub> setup (hd'x','x') to install grub on the partition.
YOU WILL NEED ANOTHER BOOT MANAGER TO START YOUR COMPUTER
- grub> quit
- # update-grub
- say yes to creating a menu.lst
- now open the newly created menu list and make the following changes. Any editor can be used it is not required that you use nano # nano /boot/grub/menu.lst
- Change
- # groot=(hd0,0) TO # groot=(hd0,'x')
root option in the boot entries to root (hd0,'x') Replace the 'x' with the partition that was found earlier- Add the Windows boot entry if need be.
title Windows
rootnoverify (hd0,0) # use the correct partition for Windows, of course
makeactive
chainloader +1- For all Ubuntu-related boot entries, such as
title Ubuntu ...
root (hd0,0)
...change (hd0,0) to (hd'x','x') (in my case, Linux partition was not the first one, and without these changes I would get grub "Error 17" after reboot). You can use the uuid of the mapped raid partition in a grub menu.lst uuid field instead of the root (hd'x','x') field; look in /dev/disk/by-uuid with 'ls -l'.- Save and exit nano. or what ever text editor you are using.
- # update-grub
- make sure the new install of Ubuntu loads the raid module kernel
- # echo dm-raid4-5 >> /etc/initramfs-tools/modules
- # update-initramfs -u
- # nano /etc/modules
- and add 'dm-raid4-5' if not exists
- Reboot
- Modify the bios to boot on your HDD
- Start and verify both Ubuntu and the existing Windows partition boot if Windows is installed.
Last edited by cedric.driard; January 11th, 2010 at 10:40 PM.
Bookmarks