You are not logged in.
Pages: 1
I have windows 7 x64 and arch linux on same hard drive.
I have tried to fix my dual boot. It did not work form start, when I installed arch linux.
I have tried https://wiki.archlinux.org/index.php/Gr … th_Windows and did not work.
I have turned off makeactive in
/boot/grub/menu.lstas suggested in article, but did not help.
After
grub-install /dev/sdaboot does not work...
Also I have tried
https://wiki.archlinux.org/index.php/Grub#GRUB_Error_17
boot partition is set to boot partition.
After restart, and boot output of grub is
filesystem type unknown, partition type 0x83 I have tried for every partiotion in grub
root(hd0,x)and output is always the same...
Can anybody help?
Last edited by LordOfInsomnia (2012-01-07 13:21:25)
Offline
So if I understand correctly you are unable to boot into Arch, but windows is working fine? What partitions did you create during Arch install? Did you create a separate boot partition and formatted it ext3. My first guess is you are using ext4 for your root partition and grub cannot boot from ext4, you need to create a small boot partition and format it either ext3 or ext2.
Another thing you can do if you don't want a separate boot is to use grub2 which supports booting from ext4.
Offline
Windows never worked, when I tried to fixed it Arch would not boot. So nighter windows nor linux are working.
I have 3 linux partitions, and 3 ntfs partitions.
Linux partitions are: boot, swap and usr.
output of fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 13055 104864256 7 HPFS/NTFS
/dev/sda2 13056 55425 340334018 f W95 Ext'd (LBA)
/dev/sda3 * 55425 55437 96390 83 Linux
/dev/sda4 55437 60802 43091858 83 Linux
/dev/sda5 13056 39164 209720511 7 HPFS/NTFS
/dev/sda6 39165 54927 126613251 7 HPFS/NTFS
/dev/sda7 54927 55425 3999744 82 Linux swap / SolarisEverything worked, before I tried to fix windows boot...
Offline
Put back the makeactive line, your root line should be root(hd0,2) make sure the root in the kernel line points to your root partition.
Here is my entry in grub menu. My boot partition is on /dev/sda5 and my root partition at /dev/sda7.
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz-linux]
root (hd0,4)
kernel /vmlinuz-linux root=/dev/sda7 ro vga=773
initrd /initramfs-linux.imgOffline
this is my menu.lst
It does not work...
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz-linux]
root (hd0,3)
radeon.audio=0
kernel /vmlinuz-linux root=/dev/sda4 rootdelay=6 ro
initrd /initramfs-linux.img
# (1) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1Offline
If windows don't start then insert the windows cd and fix the mbr then install grub from the livecd/usb and windows should boot.
If you can't boot in Arch maybe try this way.
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz-linux]
root (hd0,2)
radeon.audio=0
kernel /boot/vmlinuz-linux root=/dev/sda4 rootdelay=6 ro
initrd /boot/initramfs-linux.imgWhat error does grub report?
Last edited by prasinoulhs (2012-01-09 15:27:45)
Offline
Isn't there a limit to the number of partitions on a disk? I know I had trouble when I tried to use more than 4 primaries. How many do you have? I see like 5 or 6 on your list there.
Offline
'radeon.audio=0' is a kernel option, should be appended to the kernel line. (And audio is disabled by default since 3.0, according to the wiki.)
Btw, I just noticed I have 'makeactive' with Windows 7 and I haven't had any problems (although I rarely boot into Windows).
Offline
Device Boot Start End Blocks Id System
/dev/sda1 1 13055 104864256 7 HPFS/NTFS
/dev/sda2 13056 55425 340334018 f W95 Ext'd (LBA)
/dev/sda3 * 55425 55437 96390 83 Linux
/dev/sda4 55437 60802 43091858 83 Linux
/dev/sda5 13056 39164 209720511 7 HPFS/NTFS
/dev/sda6 39165 54927 126613251 7 HPFS/NTFS
/dev/sda7 54927 55425 3999744 82 Linux swap / Solaris
So sda5, 6 and 7 are non-primary partitions, right? And sda2 is the primary partition which includes these extended partitions? (I'm forgetting the terminology here.) It isn't that you're trying to have more than four primary partitions.
Last edited by cfr (2012-01-07 23:44:22)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
@cfr, you are right. sda1 is primary partition, sda2 is extended partition for sda5 and sda6. I have one more primary for boot.
@Raynman "'radeon.audio=0' is a kernel option" was added here two months ago, and after that I did not have sound problems.
@Durden I have two primary partitions.
@prasinoulhs I will try to fix boot with windows dvd as soon as I can. I have image on my hard drive, but I am curently using mint live cd, and I cannot burn cd/dvd from it... ![]()
Grub error is error 17.
All comments above are irrelevant, because my system was working for 4 months in that configuration...
Offline
Windows never worked, when I tried to fixed it Arch would not boot. So nighter windows nor linux are working.
First you say this
All comments above are irrelevant, because my system was working for 4 months in that configuration...
Then you say this.
Which is it? The comments are not irrelevant as we're trying to get information you didn't provide in the OP. If you don't like us asking questions then don't ask us for help on this forum.
Offline
You don't say either whether you tried root as (hd0,2)...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
as quoted in the wiki:
Note: If you are attempting to dual-boot with Windows 7, you should comment out the line makeactive.
Also, if you hadn't noticed, the partition index starts at 0. So, if you want to boot sda3 you need (hd0, 2).
Here's mine...
# (0) Arch Linux
title Arch Linux
root (hd0,5)
kernel /vmlinuz-linux root=/dev/sda1 ro
initrd /initramfs-linux.img# (1) Arch Linux
title Arch Linux Fallback
root (hd0,5)
kernel /vmlinuz-linux root=/dev/sda1 ro
initrd /initramfs-linux-fallback.img# (2) Windows
title Windows7
rootnoverify (hd0,1)
#makeactive
chainloader +1
Offline
Does initramfs-linux.img and vmlinuz-linux exists int your /boot directory?
Offline
I am sorry if I sounded harsh. English is not my native language, and I am confusing in my native language. ![]()
@prasinoulhs yes, both file exist.
@cft
I have tried them all.
I have booted installation of arch linux and executed grub
This is output:
root (hd0,0)
filesystem type unknown, partition type 0x7
root (hd0,1)
filesystem type unknown, partition type 0xf
root (hd0,2)
filesystem type ext2fs, partition type 0x83
root (hd0,3)
filesystem type unknown, partition type 0x83
root (hd0,4)
filesystem type unknown, partition type 0x7
root (hd0,5)
filesystem type unknown, partition type 0x7
root (hd0,6)
filesystem type unknown, partition type 0x82Offline
after restart and boot of arch linux from hard drive I get menu for arch and for windows.
After I choose arch linux i get this output:
booting 'arch linux [/boot/vmlinuz-linux]'
root (hd0,3)
filesystem type unknown, partition type 0x83
kernel /vmlinuy-linux root=/dev/sda4 rootdelay=6 ro
error 17: cannot mount selected partitionI have tried to change it with change it in boot sequence hitting 'e' on
root (hd0,3)in menu.
I entered
root (hd0,2)And output with this option is
root (hd0,2)
mount: you must specify filesystem type
You are being dropped into emergency shell.
sh: can't access tty: job control turned offLast edited by LordOfInsomnia (2012-01-10 14:02:37)
Offline
You have a typo in your grub file:
kernel /vmlinuy-linux root=/dev/sda4 rootdelay=6 ro
Should read something like:
kernel /vmlinux-linux root=/dev/sda4 rootdelay=6 ro
or
kernel /vmlinuz-linux root=/dev/sda4 rootdelay=6 ro
Notice the y in place of the x or z
Last edited by Durden (2012-01-10 17:25:01)
Offline
yes, there is a typo, but is in writing...
kernel /vmlinuz-linux root=/dev/sda4 rootdelay=6 roOffline
Pages: 1