You are not logged in.
Pages: 1
Hi.
This is my story:
I had a 750GB HD with this partitions:
-10GB NTFS Windows XP
-40GB NTFS
-40GB ext4 ArchLinux
-656GB ext3 Ubuntu
-4GB Swap
I first install ArchLinux in a little partition just to try, I wanted to forget Ubuntu. The installation was a success and I was working on ArchLinux. Finally I decided to move on ArchLinux and delete Ubuntu. So... I start de Gparted Live CD and deleted de Ubuntu partition and made bigger de ArchLinux one.
The new partitions:
-10GB NTFS Windows XP
-40GB NTFS
-696GB ext4 ArchLinux
-4GB Swap
The problem is now when I turn on the pc. The ArchLinux Grub appears, but I can only get into windows, when I try in ArchLinux says:
Error 22: No such partition
I tried to mount the system with the installation CD and making grub-install /dev/sda but still the same...
Any ideas?
Last edited by faidoc (2009-02-19 11:16:17)
Offline
you need to post your /boot/grub/menu.lst and post the result of fdisk -l
Offline
Grub:
Device name conversions
Linux Grub
-----------------------------
/dev/fd0 (fd0)
/dev/sda0 (hd0)
/dev/sdb2 (hd1,1)
/dev/sda3 (hd0,2)
General configuration:
timeout 5
default 0
#(0) Arch Linux
title Arch Linux
root (hd0,7)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/520e5b18bfaf-486c-ba24-5cb310c6b938 ro
initrd /boot/kernel26.img
#(1) Arch Linux
title Arch Linux Fallback
root (hd0,7)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/520e5b18bfaf-486c-ba24-5cb310c6b938 ro
initrd /boot/kernel26-fallback.img
#(2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
fdisk -l:
Device Boot Start End Blocks ID System
-------------------------------------------------------------------------------------------------------------------------------------
/dev/sda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/sda2 1276 91201 722330595 5 Extended
/dev/sda5 90690 91201 4112608+ 82 Linux Swap / Solaris
/dev/sda6 1276 6375 40965687 7 HPFS/NTFS
/dev/sda7 6376 90689 677252173+ 83 Linux
Last edited by faidoc (2009-02-19 08:23:59)
Offline
replace root (hd0,7) to root (hd0,6) make sure that uuid is correct run blkid and correct it if its wrong,
or you can use the old style: root=/dev/sda7
Last edited by decaturguy (2009-02-19 08:43:47)
Offline
Thanks man... Problem solved
Could you explain me what happened?
Offline
Thanks man... Problem solved
Could you explain me what happened?
I'm glad it worked out for you.
Your Arch partition used to be /dev/sda8 and now it's /dev/sda7 thats what happens when u remove a partions above and combine.
as for grub root (hd0,7) = /dev/sda8 and the first partition /dev/sda1 = root (hd0,0) yeah it starts with 0 and now
your Arch partion is on /dev/sda7 which means your root is (hd0,6) do get my point?
As for uuid it changes when you reformat your partition, it's way better to use uuid because you don't have to worry if your drive is /dev/sdaX or /dev/sdaY.
Offline
yeah I get it
Thanks a lot
Offline
Pages: 1