Trouble booting Arch from VirtualBox vm with Mac OS X host
Thank you in advance for your help.
I am trying to get Arch installed and running on a VirtualBox virtual machine within a Mac OS X host on my MacBook Air. For the last two days, I have tried many attempts (following various blogs for hints as to what subtle detail I must be missing), and they all have resulted in more or less the same result -- the bootloader never gets loaded. (See below for a description of what I see.) I tried one more time and recorded exactly what I have done so as to ask for help.
# selected "Boot Arch Linux (x86_64)" on boot from cd
$ pacman -Sy
$ gdisk /dev/sda # o n [enter] [enter] +1024M ef02 n [enter] [enter] [enter] [enter] w
$ mkfs.ext4 /dev/sda1
$ mkfs.ext4 /dev/sda2
$ mount /dev/sda2 /mnt
$ mkdir /mnt/boot
$ mount /dev/sda1 /mnt/boot
$ pacstrap -i /mnt base # [enter] for default selection
$ genfstab -p /mnt > /mnt/etc/fstab
$ arch-chroot /mnt
$ pacman -Sy
$ echo first-arch > /etc/hostname # I'm skipping all the other config options, which I don't expect to be relevant at this time.
$ passwd # sorry, not telling
$ pacman -S grub-bios
$ grub-install --target=i386-pc --recheck --debug /dev/sda # I read in another blog that i386-pc is the correct option even though my OS is targed to x86_64
$ grub-mkconfig -o /boot/grub/grub.cfg
$ exit
$ reboot
# I return to the menu (rebooting with cd still in) and select the "Boot existing OS" option. The result is an almost-blank screen with the text "Booting...\nGRUB ". Nothing else happens.
# I close the VM by clicking the 'x' on the window and choose the option to turn off. I start the VM again and remove the cd. Then I select the 'Reboot' option.
# The result is an almost-blank screen with the text "EDD: Error 0c00 reading sector 41571\nFailed to load COM32 module boot/syslinux/reboot.c32\nboot:"
I was once confused why 'syslinux' appears on the error screen when I'm installing GRUB, but this is also essentially the error that shows if I try to run the machine before setting anything up, so it must be some sort of default.
I have also tried preparing my system as if it used UEFI (although I understand VirtualBox doesn't use UEFI).
I have also tried installing syslinux instead of GRUB, and was able to boot from the CD by selecting the option "Boot existing OS", but the regular boot without cd still failed. Although that is a workaround, I am wondering if there is a way I can boot without the CD every time. (Not just for convenience, but because I'm sure I'm missing some detail and I would like to learn what that is.)
Again, thank you in advance for your help.
A few days ago, i have installed it myself on a Mac. Everything works fine and i just followed the installation guide like you (but i used syslinux...).
But i am curious about your partition-mounting.
I think, grub looks on /dev/sda1 to boot up. But you installed arch to /dev/sda2.
I would try to use "pacstrap -i /mnt/boot base" to install arch on /dev/sda1 ...
(If that does not work, you could try installing it without a special boot partition)
Similar Messages
-
Hello,
I'm trying configure grub2 for boot iso image of arch but don't work:
My grub.cfg entry is:
menuentry "ArchLinux ISO" {
loopback loop (hd0,3)/iso/arch.iso
linux (loop)/boot/vmlinuz26 findiso=/iso/arch.iso lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
initrd (loop)/boot/archiso_pata.img
boot
Arch start correctly boot fail and hope 30 seconds for image of /dev/archiso, I think.
Is the above entry correct?.
Regards.I wouldn't really call it a bug. It is more like an enhancement that Arch Linux does not currently have, AFAIK.
example:
menuentry "Arch Linux 2009.08 netinstall 64bit" {
loopback loop /boot/iso/archlinux-2009.08-netinstall-x86_64.iso
linux (loop)/boot/vmlinuz26 lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_OHD8FOH5 ramdisk_size=75%
initrd (loop)/boot/archiso_pata.img
What happens with the grub2 is as follows:
loopback loop /boot/iso/archlinux-2009.08-netinstall-x86_64.iso
1) mount the iso image as a loopback
linux (loop)/boot/vmlinuz26 lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_OHD8FOH5 ramdisk_size=75%
2) load the kernel from the iso image (and pass command line options)
initrd (loop)/boot/archiso_pata.img
3) load the initd from the iso image
The problem comes after this.
Once the kernel and the initd are loaded grub2 leaves the picture, as well as the loopback iso image.
The loaded kernel starts the boot process and looks for the files/filesystem it expects to be there.
But it can't find it because the iso loopback device is gone (or as far as it knows, never was there to begin with).
To get around this problem many distros include kernel command line options such as:
iso-scan/filename, findiso, and isofrom
These command line options are pretty much scripts to find and mount the iso image and use it as the root partition. Much like what we did with grub2.
I don't know if the command line options are part of the initd or the kernel itself, but either way I would like to see it as part of Arch Linux default iso.
If I knew how to modify the initd I would make a patch for it or the iso as a whole, but my knowledge doesn't go that far -
Hi, I have made a manual Arch install on a 2GB SD card, and I haven't succeeded in booting it.
Basically I formatted it as ext2, mounted it under some directory, installed the pkgs, starting with filesystem, the base utilities (with pacman -r). Then I installed xorg + kde, so far everything's ok.
My hardware is a laptop with the TI 7xx1 card reader, that isn't mass storage (the driver is tifm_sd), so I cannot boot it from BIOS, and grub can't use it either. So I'm using the grub from my hdd, with kernel26 and a custom initcpio. I have put "MODULES="tifm_sd tifm_7xx1 mmc_block" in my ramdisk, my modules are loaded, and my mmcblk0p1 node gets created successfully at boot time.
I booted with "kernel /boot/vmlinuz26 root=/dev/mmcblk0p1 ro pci=routeirq"
And now I'm stuck with the following:
kinit: mounted root (ext2 filesystem) readonly.
sh: root=/dev/mmcblk0p1: No such file or directory
The error happens in some script apparently, but I can't find which.
Can somebody experimented with the boot system help ? At the moment I am not interested in a fully-functional system, it's just for a performance test, and I'd just like to get past the init stuff.
Thanks!deuns wrote:
I booted with "kernel /boot/vmlinuz26 root=/dev/mmcblk0p1 ro pci=routeirq"
And now I'm stuck with the following:
kinit: mounted root (ext2 filesystem) readonly.
sh: root=/dev/mmcblk0p1: No such file or directory
The error happens in some script apparently, but I can't find which.
The first line suggests that your root filesystem was mounted successfully. You didn't happen to add init=/bin/sh to the kernel commandline? That is somehow broken. Otherwise I cannot make sense of the second line, as no 'sh' process should be involved now, but control should be given to the init process. -
Booting Arch from a lilo floppy
Hi,
I have a second hard drive where I would like to install Arch. But I would like to boot from a floppy with lilo. it is this possible? I do not like Grub.
ThanksHi Aer,
The reason is that I am not familiar with GRUB and also I do not know if i can install it in a floppy instead of MBR.
Thanks for answer me
Nacha -
Apple Pro Speakers from G4 Cube with Mac mini
To listen music with my Mac mini, I used Apple Pro Speakers that originally came with the G4 Cube.
But since june 2010, my system (Mac OS X) does not recognize these speakers.
The error message (via command 'dmesg') is :
Couldn't alloc class "AppleUSBTrinityAudioDevice"It's a problem with Mac OS X 10.6.4:
http://discussions.apple.com/thread.jspa?threadID=2467178
We are waiting a patch from Apple... -
P965 won't boot DVD from Intel SATA with RAID enabled
System specs
1 x MSI P965 Platinum
1 x Intel Core 2 Duo 6420
2 x 1GiB Geil PC6400 DDR2/800
2 x 320G Seagate Barracuda 7200.10
1 x Pioneer 212 SATA CD/DVD Writer
Configuration has both hdd's in RAID mode (on the ICH8 SATA connectors), with RAID volumes setup and functional.
My DVD drive is plugged into the SATA-5 connector (ICH8).
I have disabled the JMicron sata/ide (since I don't want to use it).
BIOS recognises the SATA DVD drive in the POST as an ATAPI CDROM. And an existing windows installation recognises the DVD drive.
The problem is that I cannot boot from the DVD drive. I have even tried the boot menu directly (F11) - there is a momentary flicker on the DVD drive, but after a while, booting continues from the HDD anyway.
Please help, I'm trying to install XP onto a different partition, and if I cannot boot from the optical drive, it may present some difficulties ;-)
Has anyone else had a similar issue? Or can offer any help on tuning the BIOS settings?
Regards
The WibblerMaesus
In my first post, I said that the DVD is plugged into the SATA-5 connector (on the ICH8), the JMicron sata connector is not used.
I also said that my configuration has 2x 320G drives configured as a RAID array (on SATA-0,SATA-1 if that matters), hence BIOS is set to "RAID" mode - if it were IDE or AHCI I would suspect my RAID array would not function (haven't tested this, but it seems logical).
If the system boots from HDD, the DVD drive (on SATA-5) is fully functional from Windows XP, just that the BIOS won't boot from the DVD drive on the ICH8.
Jack the Newbie
I have tried the JMicron SATA connector, but WinXP setup disk causes BSOD if the drive is configured as IDE in BIOS. And after some more hair pulling I figured out that if I slipstream the JMicron RAID drivers and configure the JMicron as RAID, then WinXP setup accesses the DVD correctly. Seems like a lot of hoops to be jumping through :( -
Trying to boot arch from win7 with EasyBCD; "boot device not found"
EDIT: title was 'Dual boot with Win7, easybcd + syslinux, getting "Boot error"'. Narrowed down the issue to something unrelated to Arch, and felt this was more accurate. The Arch install is sound, it's getting win7/EasyBCD to load it that's the issue.
I got a new work computer and am trying to recreate my formerly successful setup, which I documented here some time ago. Unfortunately... I'm having issues. Just a note up front from scouring the internet for ideas: I cannot use syslinux (or any other bootloader) to chainload Win7 vs. the other way around! The computer drive is encrypted with McAfee Endpoint Encryption, and doing anything whatsoever with the MBR from outside of Windows will brick my computer. Just wanted to add that, as almost all issues involving dual boot inevitably bring about the suggestion to "just chainload windows from grub/syslinux/etc."
With that out of the way, here's the process I used:
drive setup
Here's the partition scheme:
- /dev/sda1: SYSTEM (pre-existing)
- /dev/sda2: C:, Win7 (pre-existing)
- /dev/sda3: /boot, ext2 (created)
- /dev/sda4: /, encrypted Arch root, cryptsetup/ext4 (created)
My process for creating the partitions is as follows:
- shrunk C: down from the Win7 built-in partition utility
- created two unformatted partitions with no drive letter using Minitool Partition Wizard, setting the partition ID to 0x83 for both
- booted from USB drive of the Arch installation .iso (downloaded Friday 5/29)
- booted x86_64 arch
# fdisk -l
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1e6513b3
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2101247 2099200 1G 7 HPFS/NTFS/exFAT
/dev/sda2 2101248 177278975 175177728 83.5G 7 HPFS/NTFS/exFAT
/dev/sda3 177278976 177541119 262144 128M 83 Linux
/dev/sda4 177541120 500103167 322562048 153.8G 83 Linux
# modprobe dm_crypt
# cryptsetup -c aes-xts-plain64 -s 512 -h sha512 -i 5000 -y luksFormat /dev/sda4
# cryptsetup open /dev/sda4 root
# mkfs.ext4 /dev/mapper/root
# mkfs.ext2 /dev/sda3
installation
I just followed the Arch installation guide but documented my steps to a text file just to be sure...
# mount /dev/mapper/root /mnt
# mkdir /mnt/boot
# mount /dev/sda3 /mnt/boot
### connect to internet
# pacstrap /mnt base
# genfstab -p /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# echo arch_zbook > /etc/hostname
# ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime
### uncomment en_US.utf-8 in /etc/locale.gen
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf
### add encrypt before "filesystem" in /etc/mkinitcpio.conf hooks
# mkinitcpio -p linux
# passwd
# pacman -S syslinux
# cp -r /usr/lib/syslinux/bios/*.c32 /boot/syslinux
# extlinux -i /boot
### the above echoes "/boot is device /dev/sda3"
Then I edited /boot/syslinux/syslinux.cfg:
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/mapper/root cryptdevice=/dev/sda4:root crypto=sha512:aes-xts-plain64:512:: rw
INITRD ../initramfs-linux.img
EDIT: I deleted the contents of /boot, reinstalled syslinux, linux, and mkinitcpio, and repeated the above with `extlinux -i /boot/syslinux`, noting that syslinux.cfg points to ../vmlinuz-linux. Same result.
Just to double check proper syslinux setup, here's the dir contents:
# ls /boot
initramfs-linux-fallback.img
initramfs-linux.img
ldlinux.c32
ldlinux.sys
lost+found
syslinux
vmlinuz-linux
# ls /boot/syslinux
cat.c32
chain.c32
cmd.c32
cmenu.c32
config.c32
cptime.c32
cpu.c32
cpuid.c32
cpuidtest.c32
debug.c32
dhcp.c32
disk.c32
dmi.c32
dmitest.c32
elf.c32
ethersel.c32
gfxboot.c32
gpxecmd.c32
hdt.c32
hexdump.c32
host.c32
ifcpu64.c32
ifcpu.c32
ifmemdsk.c32
ifplop.c32
kbdmap.c32
kontron_wdt.c32
ldlinux.c32
lfs.c32
libcom32.c32
libgpl.c32
liblua.c32
libmenu.c32
libutil.c32
linux.c32
ls.c32
lua.c32
mboot.c32
meminfo.c32
menu.c32
pci.c32
pcitest.c32
pmload.c32
poweroff.c32
prdhcp.c32
pwd.c32
pxechn.c32
reboot.c32
rosh.c32
sanboot.c32
sdi.c32
sysdump.c32
syslinux.c32
syslinux.cfg
vesa.c32
vesainfo.c32
vesamenu.c32
vpdtest.c32
whichsys.c32
zzjson.c32
EasyBCD and boot attempt
At this point, exited the arch-chroot, unmounted/closed my partitions, and rebooted into Win7. Using EasyBCD, I added a entry for a syslinux bootloader, pointing it to "Partition 3 (Linux - 128MiB)."
I reboot, get the EasyBCD menu, but then the lone words "Boot error" on a black screen. Any key press takes me to some sort of BIOS boot thingy which tells me to "Please install an operating system!" I think this is something built into the laptop BIOS, not anything from the syslinux side. Selecting "Boot existing OS" from the Arch install USB doesn't give me any options at all.
From what I can tell, I'm using the same procedure that I ended up with on this former troubleshooting exercise.
Thoughts
I'm really struggling to understand what I'm doing wrong. I originally had a couple variations on logical/extended partitions since I need my eventual setup to hold a shared TrueCrypt partition so I can access my work files from both Win7 and arch. I tried /boot as primary and Arch/TC as logicals, as well as a primary TC partition with boot/root as a logical drive combination. I've simplified to just primary partitions (as shown above) to troubleshoot.
It's quite difficult to troubleshoot as I don't know if this is an installation issue or an EasyBCD one. Is there a way to manually try and boot my HD arch install from the install USB? I wanted to try that using the "Boot existing OS" option, but am wondering if it fails since only /dev/sda1 features a bootable flag and it's encrypted so only the HP BIOS can handle it? I thought about making /dev/sda3 bootable, but from my reading I can only have one bootable flag on a Windows system.
On that note, I checked my BIOS settings and the MBR is set to "Legacy mode" vs. the othe UEFI alternatives, so I don't think that's an issue. I also used blkid to confirm that it's using an MBR (output was "dos").
I will try UUIDs in /etc/fstab and syslinux next, as there are some other posts (example) talking about this as a potential issue (and, indeed, I sometimes get my HD as /dev/sdb* when booting from the arch USB drive. I can also try grub2 in case it's a syslinux issue.
Thanks for any ideas/suggestions. Does anything look awry in my description/setup above? I can chroot and do stuff just fine... so I think the install appears to be sound; it's just booting it!
Last edited by jwhendy (2015-06-06 04:38:09)A bit of progress, though this couldn't be much more awful in my opinion. Installed Arch to an sdcard to use as a bootloader, only to find that I can't boot from an sdcard, even though the HP docs say there's an sdcard boot option in the BIOS (which there's not). If the BIOS were in UEFI mode, there is an sdcard option listed in the boot order, but not in legacy mode. Sigh.
I don't have another sdcard laying around that's big enough to install Arch on, as I'm using my sole 8g drive for the installation media (and no optical drive). Sigh.
I did, however, through trial and error get my sdd arch install to boot using the installation drive's "boot existing OS" option! Took me a while to figure it out. In my opinion the drive/partition numbering is quite odd. Using the Hardware Information tool, the usb stick shows up as the first drive (so I'd assume hd0), but it can't be as "hd0 3" got me into the sdd installation. I'd have assumed hd0 0 was /dev/sda1, but that must be incorrect, as hd0 3 is /dev/sda3.
So, where I'm at now:
- going to re-partition how I originally intended (with truecrypt shared storage as a primary partition and boot/root as logical partitions)
- reinstall arch
- try to boot using the above procedure from the installation media
If that goes well, I'll try to find some teensy tiny usb stick to use as a bootloader device unless someone has any insights on why I can't boot by chainloading from Windows. I think at this point I've narrowed it down to a BIOS or drive numbering or EasyBCD issue, so maybe this post isn't a good fit for the Arch forums after all. Sorry for all the noise/updates... just wanted to provide the updated information as I uncovered it.
Thanks if you have any ideas or things I could try. -
Even with ipod rip, trouble transferring music from Win-IPOD to Mac-Itunes
New Macbook (recent convert). Windows formatted IPOD. Bought IPOD-Rip. Plugged in ipod holding down Apple+Option so no accidents. Said IPOD RIP didn't recognize any music on IPOD, but did I want to do "hard recover" Yes. So--it then transferred entire contents of IPOD to Mac desktop. There it sits in all its glory. But my Mac Itunes doesn't recognize it, I THINK because it is Windows formatting. How do I get these songs into my Mac Itunes? While transfers are commonly discussed here, I don't think I've seen this particular problem?
Thanks so much! Seems to have basically worked. But didn't import the playlists...I'm sort of assuming that given everything else peculiar to my situation, that there's nothing I can do about that?
-
Can't boot Arch from USB on Acer Aspire One...
Hi All,
New to the forums, relatively new to Linux. I've tried several distros including #!, U/K/Xubuntu, Mint, Kuki, Puppy and Wolvix. However none of them, except maybe Mint, have played very nicely with my Acer Aspire One netbook. Even Kuki was a bit of a disaster, though I liked the Midori browser, first time I'd used it was under Kuki.
Intro aside, I want to try Arch. I am not scared of a bit of hands-on work via CLI, although am certainly no expert when it comes to CLI & Linux!
The problem is, I created a USB install for the latest 32bit version of Arch using Unetbootin (I tried both under Windows and Linux, creating USB live sticks with both). However when I try to boot from USB, all goes well until just after a message during the boot process appears. I forget off the top of my head what the error message says, though it appears after successfully waiting 30 seconds to discover a SCSI drive (or something along those lines).
The error has nothing to do with the drive, it's related to the step in the boot process that comes after that. Whatever the message is (I'm at work so cannot access logs or anything right now) it ends up asking me to resolve from a CLI prompt, which then leaves me with a prompt dialog, or to restart and try again.
Nothing seems to work so I am not sure what I am doing wrong or if it might be a bug with Unetbootin or a bug with the latest version of Arch? Or simply a good old fashioned ID10T error?
Any help would be greatly appreciated. Thanks!Thanks! I'll mark this as an ID10T error for now then. I'll give the USB install image a try tonight. On a side note, does Arch come with Skype pre-installed and if not, is it relatively simple to install a la the *.deb package install?
-
Can't boot Arch from external HDD
Hi, well first off this is not my first Arch Linux installation, I'm using Arch for a little over a year now (coming from slack). But this is my first attempt to have Arch on an external HDD.
Alrighty, the situation is as follows: A rather new computer (supports booting from USB devices and the bios is set to boot from removable devices first) with a built in HDD and an external HDD that's connected to that computer via USB.
What I did: I connected the external HDD to the computer and booted off a 2008.6 Overlord core-CD.
Arch-Live recognized the internal HDD as sda and the external HDD as sdb.
I partitioned the external HDD using cfdisk and ran mkfs.ext3 on it (I didn't use any switches with that).
I started the installer, set my mount points (I should mention I'm not gonna use a swap partition here), installed the packages, well just went through the installation routine and installed grub in the MBR of sdb (the external HDD).
Then I rebooted. And this is what doesn't work: When I boot that computer with the external HDD connected the computer completely hangs right before grub would come up. It freezes completely, ctrl+alt+del doesn't work, I need to use the powerswitch to reboot the computer.
So I put the Arch-CD back in the CD drive trying to boot into my Arch System on the external HDD. So I started typing:
root (hd1,0)
kernel /boot/vmlinuz26 root=/dev/sdb1 ro vga=773
initrd /boot/kernel26.img
When I try to boot off that grub tells me that there is no such device as hd1,0. The funny thing is, that the auto copmletion in grub works for the kernel /boot/vmlinuz26 but it doesn't for the device /dev/sdb1, in fact even root=/de<tab> returns a "unrecognized string" message.
So this is what I did and I can't boot off my external HDD, neither can I boot into my system on the external hdd from the cdrom.
What am I missing here?The harddrive you boot from is in my experience always hd0. Could this mean your external disc is hd2?
Have you tried chainloading from the installer cd to your external disc? -
Problem booting up from the CD for Mac OS Version 10.6.2
Hello everyone,
I have a 27" iMAC which I have been using for awhile. A few months back, I managed to set up Boot Camp successfully on the iMAC and been using the Windows OS for that period. Whenever I turn on the computer, I will definitely hit Alt/Option key, type in the password and select the Windows Hard Disk to boot up in. I'm finally done with my personal project and wanted to go back onto my Snow Leopard OS. Lo and Behold, whenever I select the Mac Hard Disk, the grey Apple logo with a loading sign appears and the problem is this screen is a permanent one. So I would like to seek your help in assisting me to solve this problem.
In addition, I tried inserting the CD and booting from the CD by pressing 'C' but I still get the grey apple and loading icon. I also tried restarting in safe mode(Hold down shift mode) but that didn't work either.
I will gladly provide any details if there is a need and also perform any actions that you recommend. Thank you everyone for your help.Sorry if this is a shameless bump but are there any kind souls around?
-
Troubles booting eMac from external HDD over firewire
I have an MBP that had to be taken into the shop recently and will unfortunately be there for a week or more. Before I took it, however, I used SuperDuper to do a full backup to a partition on an external HDD (a WD "My Book Pro" 500GB drive with two partitions -- one for full backups and one for extra storage). For the time being, I have an eMac (PPC G4 700Mhz w/OS X 10.4.11) that I was hoping to use to boot from the FW drive.
Unfortunately, I can't seem to get it fly. I have the drive connected via FW and when I hold down option at boot it only shows the internal drive (I've also waited a few minutes and tried numerous refreshes -- no dice). When I look at Startup Disk in Systems Preferences it does show the FW drive as an available boot device. When I select it and reboot, however, I get a the system folder question mark icon for about two seconds and then the eMac boots from the internal.
I know the backup is fine because I was able to boot over FW from the MBP. The backed up data is system 10.4.11 as well.
Any thoughts?Hey Dema,
Well the builds for Intel vs PPC Macs are very different. However this can be done as here:
http://www.macosxhints.com/article.php?story=2006061610374449
and they talk about the earlier method using two partitions. They figured a way to do it without the partitioning.
Richard
Message was edited by: spudnuty -
Dual boot arch from second hard drive [SOLVED]
I have two sata hard drives connected. Hard drive 0 has my working updated version of arch.
I'm trying to boot off the second hard drive that has an older installation of arch. I have added this to my menu.lst of my first hard drive:
# (2) Arch Linux 2.6.31
title Arch Linux 2.6.31
root (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/29523114-ab52-4a9b-b93f-e2da915c0dc1 ro vga=773
initrd /kernel26.img
I have also tried using /dev/sdb1 on the kernel line with the same results. The uuid is correct I am able to obtain that from /dev/disk/by-uuid/
this is definately where the vmlinuz26 file resides for that hard drive. I can mount it and see it.
But when I choose this option, it tries to boot but then I get:
kinit: init not found!
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init not tainted 2.6.31-ARCH #1
What do I need to change? Do I need to add something to that initrd line? Thanks.
Last edited by kekules_dream (2010-01-10 21:43:31)I had to change the uuid to that of the root partition on sdb (the second hard drive) even though I had a /boot partition on it (sdb1). It is now working.
# (2) Arch Linux 2.6.31
title Arch Linux 2.6.31
root (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/4a5827bc-6ace-4d4d-9ba7-24586e365c8a ro vga=773
initrd /kernel26.img -
i have somes problems with several apps and want to fresh installed Arch.
my current file system:
i use: gpt, lvm2, luks, grub2.
/dev/sda1: bios partition
/dev/sda2: boot partition
/dev/sda3: lvm partition (var, usr, usr-local,....home...)
i keep partition structure (cause i want to keep home directory without damage, it's contain my data).
but when i try to boot from livecd to reinstall Arch, this proccess can't be done.
this is output:
mounting: /bootmnt/arch/any/repo-core-any-sys/....
mounting: /bootmnt/arch/x64/.....
I/O error on device sr0, logical block
buffer I/O error on device sr0, logical block
SQUASHFS error: .....
end_request: I/O error, device sr0, sector ....
kernel panic_not syncing: attempted to kill init !
pid: 1 comm: init Not tainted 3.0 - ARCH #1
call trace:
[<fffffffffffffffff812ae6al] panic+0xa0/0x1ad
[<fffffffffffffffff...............] do_exit ...
[.....................................] do_group_exit ...
[.....................................] get_signal_to_diver....
and caps lock & scroll lock blink.
any ideas?
thanks for reply !
EDIT: i tested /dev/sr0 and the result:
sudo mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only.
Last edited by angelfalls (2012-07-13 17:09:56)Yeah that's what I meant. Try to burn a new cd at a slower speed. When the new one is done create a hashsum of the new burn and compare it to the iso you used to burn it with. I only say this because a few times in the past when I had sr0 errors while booting live cds it was because the disk was messed up and I had to burn it again.
-
Migrating Internal Non Boot HD From Old G4 To Mac Pro
Hey guys,
I have done a search and haven't been able to find anything to help me with this. I have an extra internal HD in my old G4, it is a non boot drive. Now I want to be able to transfer all the files from it to my new Mac Pro. When I try and connect them via migration assistant, it only mounts my original G4 boot drive on the Mac Pro. Does anyone have any suggestion as to how I can get the etra internal HD to mount?
Regards,
Alex
Mac Pro Dual 2.66 3 GB Ram 1 x 500GB Hitachi HD 1 x 500GB WD HD 30" Display Mac OS X (10.4.8) G4 Quicksilver 867 1.12 Ram 80 GB HD 17" Studio DisplayYes, migration assistant only works with boot drives because it is designed to migrate things like user settings, applications, and so forth. It looks for drives or partitions that contain "blessed" system folders and files, to throw out an old-school Mac term.
You probably cannot put the G4 drive in your Mac Pro; the Mac Pro's bays are SATA. Your G4 is IDE.
However, you can boot your G4 in Firewire Target Mode (restart holding down the T key) and then plug the G4 into the Mac Pro via FireWire, and the G4 will mount as a drive on the Mac PRo. From there, you can copy whatever you choose from the old drive.
You can also remove the G4 drive and place it in an enclosure. I really like the ones Wiebetech.com has - I have a triple interface enclosure that offers USB, FW400, and FW800 connectors.
BTW, many people have found that using Migration Assisant is troublesome, myself included. After trying it and experiencing less than stellar performance, I wiped the Mac Pro and set it up from scratch. It's just not a good idea to copy between entirely different architectures. I've had fine results going from G4 to G5, but not from G5 to intel-based macs.
Hope this helps!
I think that migration assistant only works with boot
drives. However, there are lots of other ways to
transfer files. The Mac Pro has 4 hard drive bays, so
one option could be to put the drive into one of
those bays... There are external drive enclosures and
CD burners, as well.
Maybe you are looking for
-
Display Port to a Variety of Monitors?
I need to connect my MacBook Air to a variety of monitors as I travel. Mostly I need HDMI, but sometimes DVI or VGA. Rather than carry a lot of cables, I'd like to carry a long Display Port cable with three adapters that would allow me to connect to
-
Configuration to Post Prodcution Order GR to quality stock
Hi Friends, what are the necessary configuration setting to post Production GR stock to quality stock instead of unrestricted?
-
Customization Wizards and reader 8.1.2
Trying to install the update, I have customized the install but the remove previous version is greyed out, therefore can not select. When I run the install it does a repair. Does anyone know how to fix or the variable to set to force the uninstall of
-
Hi All, I want to execute the SAP standard program RHALEINI from my customised program using SUBMIT statement. I want to pass the values for Plan Version , Object Id and Object type from my customised program. If you have any clue to which variab
-
Oracle data integrator , reverse the tables
Hi all, am new to odi. Is there any possibility of passing the table name as parameter to reverse it.. am facing issues in reversing the table ,as there large number of views and tables in a schema it takes long time to import. even i tried using sel