[Solved] Grub not showing windows partition
Hey all,
So I tried setting up my Win7/Arch dual boot system yesterday and I think I got the partitions right (correct me if I made any mistakes), but GRUB was not showing my main windows partition. I went into the menu.lst file and uncommented what I thought was my windows partition, but turned out to be my Samsung recovery partition. After a reboot, Grub now won't even load and automatically reboots the computer on failing. I'm sure that once I can figure out how to get back into that config file from my installer CD, I will be able to re-comment that windows entry, but I still am unsure how to get it to recognize my main windows partition.
Here are the partitions:
Name Flags Part Type FS type [Label] Size
sda1 (Boot) Primary ntfs [RECOVERY] 16GB
sda2 Primary ntfs [SYSTEM] 104MB
sda3 Primary ntfs 372GB (main windows7 partition)
sda5 Logical ext2 [root] 15GB
sda6 Logical swap [swap] 4GB
sda7 (Boot) Logical ext2 [boot] 100 MB
sda8 Logical ext3 92GB (home Linux partition)
Thanks for your help
Last edited by RichardPW (2011-12-05 00:01:57)
Okay so first I tried recommenting all of the windows boot information with no luck. Then I changed the windows line to "rootnoverify (hd0,1)," also with no luck. Grub still tries to load but crashes and reboots the system before presenting me with any options.
Here are the options, if this helps at all.
# (0) Arch Linux
title Arch Linus
root (hd0,6)
kernel /vmlinuz-linux root=/dev/sda5 ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,6)
kernel /vmlinuz-linux root=/dev/sda5 ro
initrd /initramfs-linux-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1
Similar Messages
-
[SOLVED] Grub Not Detecting Windows
Hello,
So here's the scenario:
I initially had Ubuntu and Windows 8, but couldn't boot, so I used boot-repair (via live Ubuntu), and it got fixed; I could use Windows 8 again (Ubuntu didn't matter).
I then deleted Ubuntu, then installed Arch instead. Grub was successfully installed, Arch and Windows 8 are shown, except when I choose Windows 8, it goes to the Windows Boot Manager (which shows a single choice of Windows 8). When I choose it, it says that it failed to start.
File: \Windows\system32\config\system
Status: 0xc000025
Info: The operating system couldn't be loaded because the system registry file is missing or contains errors.
How can I get it to work as before?
I've tried using a custom.cfg as suggested in the manual
menuentry "Windows 8"{
set root="(hd0,1)"
chainloader +1
The entry showed up after running grub-mkconfig, except that it did the same thing as the original choice detected by os-prober (as in the one during the installation mentioned above).
By the way here's my partition layout:
/dev/sda1 Windows System Reserved
/dev/sda2 Windows
/dev/sda3 Arch
I also tried to set root to (hd0,2), but it gave a similar error:
File: \Boot\BCD
Status: 0xc000000f
Info: The Boot Configuration Data for your PC is missing or contains error.
I believe this is because I've tried to work with EasyBCD/BCDedit before.
Last edited by jddantes (2014-04-16 11:20:46)Finally solved it!
It was more of a Windows problem than an Arch one. I used Live Ubuntu's GParted and noticed that my Windows partition (/dev/sda2) was marked by an exclamation point. I right-clicked to Information and this was the message:
ntfs_decompress_mapping_pairs: Input/output error NTFS is inconsistent. Please run chkdsk /f on Windows then reboot it TWICE!
I was starting to download a Windows 8 ISO, but thankfully I found out that you could create a recovery drive from an existing Windows 8 installation (I had another computer).
Failed attempts:
There was no reinstall option for me (looking back at it, that's a good thing), so I went for the Fix Startup Problems options. I ran it thrice and I stopped because it finally said that it couldn't fix it.
I had no System Restore Points either.
I wanted to see if the Continue to Windows 8 option would magically be able to boot it, but after the screen froze for 2-3 minutes, I rebooted and went for the Command Prompt.
More failed attempts with the Command Prompt:
I was able to find this http://social.technet.microsoft.com/For … proinstall
The instructions were:
Type Bootrec /RebuildBcd, and then press ENTER.
If the Bootrec.exe tool runs successfully, it presents you with an installation path of a Windows directory. To add the entry to the BCD store, type Yes. A confirmation message appears that indicates the entry was added successfully.
If the Bootrec.exe tool cannot locate any missing Windows installations, you must remove the BCD store, and then you must re-create it. To do this, type the following commands in the order in which they are presented. Press ENTER after each command.
Bcdedit /export C:\BCD_Backup
ren c:\boot\bcd bcd.old
Bootrec /rebuildbcd
Restart the computer.
So I tried, but it failed anyway. Then I began to notice. The current directory was X: (I was booting from the USB), and by some chance I managed to figure out that there were also C an D.
I searched for the command to display the disks:
http://www.computerhope.com/issues/ch000854.htm
wmic logicaldisk get name
What I wanted was E. (This is what will be C normally, with the Program Files and all). I also had F, which I will guess will be the free space remaining which I put aside for swap (it couldn't be accessed in the Prompt with dir f:).
I tried the above solution with E instead of C, but it failed.
What finally worked:
chkdsk /f e:
And now it boots when I choose it in Grub. Sometimes the Windows Boot Manager pops up, but whether it does so or not, Windows 8 loads properly. -
Not showing any partitions in the cube
Hi All
I created partition for the cube , im not seeing the partition in trgt cube
even its not showing source database and target database under the partition
I refreshed the partition
so how can i solve this , plz help on this
ThanksThanku rinku
I refreshed the partition but its not showing any thing
we have 4 partitions for 4 diff cubes;; for all the 4 partiotions this is the trgt(account) so i deleted 1 cube
form then on words its not showing any partitions in the trgt cube(Account) but remaining cubes under partition im able to see
for only trgt cube im not able to see
wat may be the problem?? plz help on this..
Edited by: user98631 on 23 oct. 2009 08:13
Edited by: user98631 on 23 oct. 2009 09:18 -
CLDC emulator is not showing windows mobile emulator as a registered device
Hi,
I want to run one J2ME application on windows mobile 6 emulator. I have done the setup using CLDC emulation on windows Mobile Emulator.
After doing installation of CLDC on emulator, need to register the emulator IP address in SDK. Done that using device-address.exe . Its done successfully.
Though device manager shows IP as its registered address, but emulator does not show the device emulator in its devices list.
emulator.exe -Xquery ------------> does not show windows mobile emulator it its devices list.
Can anyone please help for this. Without this am not able to run my J2ME application on windows mobile emulator.
FYI: I have installed MS Virtual PC but windows mobile 6 emulator is not binded to Virtual Machine Network Services Driver. Because, I am not getting this in drop-down list of adpaters.
I believe it will not make any effect.
Please help.bkbooth11 wrote:
Hey,
I tried connecting my iPhone to a friends Mac and I wasn't able to see the photos in iPhoto either.
I have solved the problem though, well not me really, I found it in one of the other threads on here about not being able to see the iPhone on iPhoto.
Go through your Camera Roll and get rid of all the pictures in there that weren't taken with the iPhone camera, I had pictures in there that people had sent me via MMS and pictures that I had downloaded from e-mails. I e-mailed myself any important pictures and deleted the rest, leaving just all the photos I had taken with the iPhone camera. Connected to the computer and the iPhone is showing in My Computer again.
Hope this helps everyone here.
Thanks bkbooth11 I did as you suggested and that fixed the problem. Hopefully they will patch that soon as it is rather inconvenient. -
[Unsolved, closed] Grub not showing other kernel (linux-lts)
Hi,
Stuck with Grub not showing other kernel, started with willing to keep two kernels.
grub config file shows both kernels correctly but still not appearing at boot (it's like pale black/blue, seems I am stuck with grub legacy? tried reinstallation etc but didn't work):
Boot menu
Arch Linux
Arch Linux Fallback
HDT
Reboot
Power
Sorry can't produce screenshot.
Disk info
Device Type
/dev/sda1 Linux filesystem
/dev/sda2 Linux swap
/dev/sda3 Linux home
Note: gparted shows 'legacy_boot' flag on /sda1
Config/files/output are:
# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/initramfs-linux-lts.img
Found fallback initramfs image: /boot/initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
No volume groups found
done
# cat /boot/grub/grub.cfg:
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/10_linux_proxy ###
menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-lts.img
menuentry "Arch Linux, with Linux linux-lts" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-lts.img
menuentry "Arch Linux, with Linux linux-lts (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-lts-fallback.img
submenu "Advanced options for Arch Linux"{
menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux_proxy ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
cat /etc/default/grub shows:
GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT="5"
#GRUB_HIDDEN_TIMEOUT_QUIET="true"
# Uncomment to use basic console
GRUB_TERMINAL_INPUT="console"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="auto"
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX="keep"
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
Last edited by jackpot (2014-08-20 07:53:27)clfarron4 wrote:Did you install os-prober? Try running that and then running the other commands.
Yes, did. Same result.
Sanity Check: Is it booting from LiveUSB/CD? I would not expect HDT/Reboot or Power Off entries from a generated grub config. I would expect those entries from a LiveUSB/CD.
From system itself, but tried all options (I knew) like 1) using fallback to install LTS and run commands, 2) live-CD, 3) kernel parameter systemd.unit etc
No worries, I am giving up on issue for some time.
EDIT:
Thanks
Last edited by jackpot (2014-08-20 11:14:32) -
How open a file and not showing window?
I write a script to do some work automatic,
for Indesign script, its application open method could open a file and not showing window,
the open method has a parameter [ShowingWindow] (if true, show the document window).
That is good a feature for me.
But with Illustrator, the application open method hasn't the same feature.
Open
(files as String,
[documentColorSpace as AiDocumentColorSpace],
[options as Object])
and for OpenOptions properties, there is not useful information for me.
Is there any other methods could do that?
Any help is greatly appreciated.Thank for your reply.
-
[SOLVED] Arch not showing up in grub after ArchBang install
I have a triple booting machine with Windows7, Arch, and ArchBang. Windows 7's system partition is where I have the bootloader installed. I recently installed Archbang and now my other Arch is not showing up in grub. I tried updating the grub menu by running os-prober, installing grub to the boot partition and doing a grub-mkconfig but it will not find the other Arch on the other partition. I'm thinking maybe this is a naming issues since they have the same grub entry name? I don't know. Any thoughts?
Lenovo Z580 i5
Arch 64
ArchBang 64
Windows 7 64
Last edited by tictoerest (2013-03-14 06:18:50)Okay nevermind, I got it fixed. I just copied the entry from the other Arch's grub.cfg and pasted it into the new grub.cfg
-
[Solved] Grub not displaying menu, error messages from grub-mkconfig
Hi I'm new
I have (or rather, am trying to setup) a dual boot with Windows 8.1 and Arch, with each OS on separate SSDs.
Windows 8.1 already installed, Arch installation (seems to have) has gone smoothly. However, when I remove the installation usb, and try to boot, I get a command line prompt:
grub >_
...instead of a menu. I tried typing 'boot', but got 'you need to load the kernel first'. So I cannot access my arch installation without chrooting (or knowing how to compile the kernel in the command line, which I could not find after a lot of searching)
I followed the documentation in the Beginner's Guide and the GRUB page for installing and configuring GRUB. This is UEFI (grub2), not BIOS (grub legacy).
pacman -S grub efibootmgr
grub-install --target=x86S64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck
No error messages. I also installed os-prober for kicks. When I went to generate the config file (as recommended for beginners), I got a torrent of what I interpreted to be error messages, not just copacetic output:
grub-mkconfig -o /boot/grub/grub.cfg
resulted in:
click this link for error messages
(sorry about the image. I had to shutdown and reboot into my windows partition, since I still can't arch it up. If any/all of you have a better way to reproduce output and feel it pertinent, I'm all ears)
so upon exiting chroot and rebooting, grub boots up to the above effect; no menu is displayed. And I am sad panda.
Background Information:
Partition scheme:
/dev/sda1 - BIOS boot partition (I didn't read carefully, lol)
/dev/sda2 - EFI System Partition - mounted to /mnt/boot when chrooting in
/dev/sda3 - Root partition - mounted to /mnt/ when chrooting in
/dev/sda4 - Home partition - mounted to /mnt/home when chrooting in
The installation and configuration described above was done in chroot with the above partition scheme
I originally had issues booting into UEFI mode with the arch iso (written to a usb stick for the initial install). The boot would hang at 'triggering uevents'. I ultimately fixed this by pressing 'e' in the bootloader menu (also grub, I believe) and prepended
linux /boot/vmlinux-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff nomodeset nouveau.modeset=0
It then (successfully triggered uevents? and) booted normally
ALSO:
This is a custom built pc.
Hardware:
intel i7 4930K
ASUS Sabertooth X79 mobo
ASUS GTX 780 Ti gpu
ballistix sport DDR3 RAM (4 x 8 GB)
3 x 128 GB SSD (ADATA P900)
1 x 2 TB HDD (Toshiba, 7200 rpm)
Hey, if you made it to the bottom of this post, I really appreciate you taking the time out of your day. Thank you!
Last edited by Otsdarva (2014-06-09 03:22:25)I realized that since I was not using EFISTUB, I could not mount the ESP to /boot; it had to be /boot/efi. A quick remount-reinstall of grub, then rerunning grub-mkconfig solved the issue.
Also, regarding WonderWoofy's suggestion: I learned by trying gummiboot that for whatever reason the kernel hadn't compiled properly when I ran
pacstrap /mnt base base-devel
Fixed via
pacman -S linux
Thanks for your help, everybody! -
Grub not detecting Windows on RAID 0 array.
I'm having some trouble with my RAID array. I have tried to research this, but all I can find is how to install Arch Linux ONTO an array, not how to detect Windows on one, and configure grub for it. I have two SSDs in a RAID 0 configuration, which holds my Windows 7 installation. I then have two HDDs in JBOD. One of those HDDs is my mass storage drive for Windows and Linux, the other is my Arch Linux install.
The problem is that--with os-prober installed--Grub isn't detecting my Windows install. I was trying Fedora when I converted my Windows install to RAID 0, and Fedora picked up on it when I ran grub-mkconfig with os-prober installed. Grub at that point was pointing at /dev/mapper/<some random-seeming string> for Windows, and it worked.
Now that I'm back "home" to Arch Linux, I am trying to get grub to see Windows, but it never detects it. /dev/mapper/ is empty except for 'control', and /dev contains sda and sdb, which are the drives that are supposed to be in the array. At this point, I'm completely lost. I'm not even sure if this is software or hardware raid. I thought it to be hardware, because my motherboard has a RAID option rom on it, which is what I used to build the array, but the /dev/mapper stuff makes me think it's software.
Can anyone at least get me pointed in the right direction?
Thank you,
KD0BPV
Last edited by kd0bpv (2012-12-08 10:25:12)Well, I did add ntfs to my initramfs, but it still dropped into an emergency mode terminal. I checked to make sure that it was successful, and the ntfs kernel module was loaded. Any ideas?
# lsmod | grep ntfs run in emergency shell:
ntfs 191626 0
/etc/mkinitcpio.conf:
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="ext4 ntfs"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options
# like so:
# FILES="/etc/modprobe.d/modprobe.conf"
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect pata scsi sata filesystems"
## This is identical to the above, except the old ide subsystem is
## used for IDE devices instead of the new pata subsystem.
# HOOKS="base udev autodetect ide scsi sata filesystems"
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev pata scsi sata usb filesystems"
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev pata mdadm encrypt filesystems"
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect pata scsi sata dmraid filesystems usbinput fsck"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
The systemd journal is still showing the same errors I posted earlier. -
[SOLVED] Hostname not showing in DHCP lease list
This is a brand new installation using the new systemd base.
Installed openbox as window manager and Network Manager.
What did I miss that the hostname of this computer (opus) is not showing up in the DHCP Leases list?
When I connect to the network using Network Manger(DHCP), hostname is not sent to the DHCP server (DNSmasq). It shows up as a "*":
DHCP leases
Hostname IP-address MAC-address Lease expires
* 192.168.10.100 XX:XX:XX:XX:XX:XX Nov 28th, 19:34
* 192.168.10.59 XX:XX:XX:XX:XX:XX Nov 28th, 19:23
alarmpi 192.168.10.69 XX:XX:XX:XX:XX:XX Nov 28th, 16:56
RM696 192.168.10.97 XX:XX:XX:XX:XX:XX Nov 28th, 18:23
(I blanked out the MAC-addresses.)
The first entry is connecting through wireless. The second is wired.
At the command line:
hostname
opus
hostname -f
localhost.localdomain
/etc/hosts:
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost opus
::1 localhost.localdomain localhost opus
# End of file
What file do I need to change and how?
Updated:
1) I created a /etc/dhclient.conf file and added:
send host-name "opus";
request subnet-mask, broadcast-address, time-offset, routers,
domain-search, domain-name, domain-name-servers, host-name;
and rebooted.
This had no effect.
2) Just for kicks, I uninstalled Network Manager and installed Wicd.
This DID send the hostname and it displayed on the DHCP Leases List. But it also had the effect of turning off the WiFi radio.
I did try to turn it back on: Went to the BIOS, made sure it was on (it was). Read some posts about power savings and what to do (tried them, didn't work).
So I uninstalled Wicd, re-installed Network Manager and I am back to where I was.
Last edited by dastagg (2012-11-29 11:15:11)Sorry, forgot to add this:
https://bbs.archlinux.org/viewtopic.php?id=152376
Follow the instructions on the bottom. -
GRUB not booting windows?
Hi, I installed Arch a few days ago, and despite me being a pretty big linux newb I'm loving the distro. I've only gotten very minor problems with it, but this is really the only one I need to fix soon.
When I boot and GRUB asks me which OS to boot up, it detects both arch and windows, but when I try to boot windows it displays...
booting 'Windows'
# (2) windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
On the screen. My windows partition is on sda1, so (hd0,0) is the correct path, but it just gets stuck on that screen and after outputting the code from /boot/grub/menu.lst file it just stops doing anything.
Help?hokstein wrote:
I'm having exactly the same problem. This is the second time I've installed Arch, and the other time I had the same problem as well. My Grub entry looks just like the ones above:
# (1) Windows
title Windows
rootnoverify (hd1,0)
makeactive
chainloader +1
As the OP said, grub just prints this entry on the screen and sits there. No real error message.
Someone sugested that maybe Windows is picky about having another bootloader in the MBR. Maybe, but I also had grub on the MBR on my Debian instalation and I still could boot Windows there. I have Linux and Windows installed on diferent drives, Windows being in a single-partition SATA drive.
Any ideas?
Windows can only boot directly from the 1st hdd.
As you have rootnoverify (hd1,0) it seems you have the windows drive as SECOND hdd in your system.
Fortunately grub has a map command that can be used to switch the order of drives
Try putting the lines below in your menu.lst (the 2 map commands make windows believe the drive it's installed on is the first hdd.)
# (3) Windows
title Microsoft Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1 -
I can not access windows partition after an unexpected shutdown
Hello everyone,
while I was working on my windows partition(windows 7 ultimate) in my imac 27' i5, a strong and continuous error sound and black screen appeared without shut down the machine,so I pressed the button( in the back of my monitor which is used to start up my machine).
After that windows partition only starts with safe mode (where so no much I can do),(in normal mode a blue window appears which says something about remove hardware, error and some things which I can not read cause it disappears too quickly (1sec).
So,after several efforts in save mode I understand that there was a problem with an installation of an antivirus program,which had not been installed correctly,and in save mode I got a message of catastrophic failure,and also I can not uninstall or remove this program under safe mode.
Till now I have been advised to delete bootcamp partition,and create it again and run windows again,so do you think this is the only solution?
Is there any way to access bootcamp files and modify under macintosh?
I need to mention that I have imac about two months, and usually I use windows partition (because I work with a program which is not supported by macintosh).
Also, do you think that deleting windows partition and creating again is there any case to harm my mac?
Which edition of windows is better compatible? (If there is one)There is a Boot Camp forum that can probably do a better job at answering your question. It's possible because your system is messed up in Windows that all you need to do is hold down the Option key when starting your computer and then choose the partition to start from. There isn't a problem with OS X or Windows 7 I suspect it's what you have done by not following instructions on installing and removing software. If you do choose to remove the Windows partition then use Boot Camp Assistant to properly uninstall. You can fin the Boot Camp forum at:
https://discussions.apple.com/community/windows_software/boot_camp
Roger -
Can I make it so the window size does not show up in my windows name?
When i hover over PS icon the windows name is:
File.name @ 137% (Layer 0, RGB/8)*
Can i edit this at all?
thanksNo. This is operating system stuff. But you can set the pref in PS to at least not treat every Window separately in Aero Peek. That way they only show up as "Adobe Photoshop"...
Mylenium -
How do I replace my internal hard drive and not lose windows partition?
Hello,
I am wanting to swap my internal hard drive out for a larger one. What do I do about my windows partition? I only use boot camp, and there is some stuff on my windows side I don't want to lose. I know how to make a clone for OSX, and I know how to replace the actual hard drive, it's just the windows that I am a little sketchy on.
Thanks for your help.WinClone - check the faq and forum for tips and read the docs
http://www.twocanoes.com
Pull your hard drive and put it in external case, OWC sells such kits, you could probably use a good windows clone program too.
but you need room on an (external) hard drive to hold the Windows image (uses a sparse disk image file is all).
Paragon Software has been busy releasing programs and updates to help Mac users running Windows, using NTFS (and EXT2/3), as well as CampTune (free for now) for resizing Windows or linux boot camp partitions.
http://www.paragon-software.com/downloads/demo.html -
[SOLVED] Printer not showing up in print options but working (CUPS)
I am using Lexmark X1270 and have got it working via CUPS web interface (printed test page and all), but even after restarting CUPS daemon and rebooting, it does not show up in File > Print in any apps like Firefox, Openoffice, etc. All I see in the print is "Print to file," no printer shows up.
Last edited by colbert (2010-12-11 03:18:44)Same problem here with a HP LaserJet Professional 1102W.
Also:
[luc@borlox ~]$ lp
lp: Error - scheduler not responding!
[luc@borlox ~]$ lpstat -a
lpstat: Connection refused
/var/log/cups/error_log:
W [06/Dec/2010:14:27:23 +0100] Duplicate listen address "127.0.0.1" ignored!
E [06/Dec/2010:14:27:23 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
W [06/Dec/2010:14:30:19 +0100] Duplicate listen address "127.0.0.1" ignored!
E [06/Dec/2010:14:30:19 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
/etc/cups/cupsd.conf:
# "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $"
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Administrator user group...
SystemGroup sys root
HostNameLookups Double
# Only listen for connections from the local machine.
Listen localhost:631
Listen 127.0.0.1:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow from All
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Set the authenticated printer/job policies...
<Policy authenticated>
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# End of "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $".
I would be very thankful for any hint.
Maybe you are looking for
-
My daughter has previously had an ipod which was linked to my itunes iphone account. she now has a new iphone and has linked this to that account and now she receives all my contacts apps etc when she syncs her account. How do i create a new itunes a
-
How to stop spooling and get error or status of the statement
Hi All, I am using the bellow in .sql file to generate a spool file which is called from a shell script. The issue is whn i kill the job the .csv file is still generated and doesnt thow any error. Could any one please let me know how to stop spooling
-
Switch to switch cross cable ?
Well yesterday i read in a cisco book saying that you should have a cross cable when connecting switch to switch & a straight cable when connecting workstation to a switch , but currently i have stright all through , switch to switch or switch to pc
-
guys, i dont know whats wrong with my photoshop cs4.. whenever i wanted to open it.. and it will show that my licenses has expired so i cant even get into photoshop program whats the problem? can somebody help me to solve this as i really need to use
-
Attribute Set in standar CRM extractor
Hello all, I have to get reporting about Marketing attributes in CRM. I´m using business content extractors for this information: 0CRM_MKTATTR_ATTR 0CRM_MKTATTR_TEXT 0CRM_MKTMETA_ATTR (metadata) 0CRM_MKTMETA_TEXT (metadata) But the standard