Citat:
Ursprungligen inskrivet av Meto
grub adresserar diskarna olika och det är inte helt lätt att förstå vilken som blir vilken.
Absolut enklare sättet att installera ubuntu på är på vanlig disk med befintlig windows installation eller ej.
Annars kan du ta en titt på USB -minne installationen som finns under adminstration på livecdn. Då kan du köra på vanliga fat32 som filsystem och ändå ha ubuntu 'installerat'.
ok jag försökte att innstalera genom den metoden men när man väljer i vilken disk man ska innstalera så e rutan tom så jag testade att formatera om den till fat32 men den e fortdarande tom och jag har också testat att dra ut och in den
jag hittade den här men den funkar inte
Mine was a slightly different story. I couldn't get grub to find the stage1 file or even recognize my drive. So I borrowed some knowledge I picked up while using Gentoo:
You have to mount your root partition using the livecd:
Code:
$
Code:
sudo mkdir /mnt/root
$
Code:
sudo mount -t ext3 /dev/sda6 /mnt/root
Then you have to mount the proc subsystem and udev inside /mnt/root also:
Code:
$
Code:
sudo mount -t proc none /mnt/root/proc
$
Code:
sudo mount -o bind /dev /mnt/root/dev
Doing this allows grub to discover your drives. Next you have to chroot:
Code:
$
Code:
sudo chroot /mnt/root /bin/bash
Now that you're chrooted into your drive as root everything should work.
Code:
#
Code:
sudo grub
I edited in the sudo, just to be safe. When I enter grub and not sudo grub, grub cannot find the file. I do not know if the chroot changes this because I did not try it that way. In the end I figured it was better to err on the side of caution. Tosk I hope you don't mind my editing of your reply.
grub>
Code:
find /boot/grub/stage1
It found mine on (hd0,5)
Code:
grub>
Code:
root (hd0,5)
It successfully scanned the partition and recognized the filesystem-type
Code:
grub>
Code:
setup (hd0)
That was it. It installed and on reboot I was thrown back into Ubuntu.
This might help some people who are having issues so I thought I would post it.
PLEASE NOTE: My Ubuntu was installed to /dev/sda6. This may not be the same for everyone. /dev/sdaX means it's SCSI/SATA/USB/FireWire drive. And it's partition 6 because I have a weird partitioning scheme in place.
--Tosk