Boot arch from iso and grub2
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
Similar Messages
-
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. -
Boot arch netinstall iso from grub2
http://www.panticz.de/MultiBootUSB
I found this blog post and I successfully did it with linux mint but I couldn't do it with arch. what are the correct grub2 commands?
I tried with:
set root=(hd0,1)
loopback loop /arch.iso
linux (loop)/boot/vmlinuz26 iso-scan/filename=/arch.iso
initrd (loop)/boot/System.map26
I have no idea what System.map26 is and grub2 didn't choke when I offered it to him so I tried it. I couldn't find the normal initrd file.
Moreover, I know that there should be some boot=something parameter to the kernel in order for it to work but I couldn't guess the right one and I found no documentation about it.
If someone did it, I would appreciate your help
Thanks.This is what I have:
menuentry "ArchLinux 2009-08 Core 64bit" {
set root=(hd0,1)
loopback loop /boot/iso/archlinux-2009.08-core-x86_64.iso
linux (loop)/boot/vmlinux26 iso-scan/filename=/boot/iso/archlinux-2009.08-core-x86_64.iso quiet
Get I get a "File not found" error.
*Edit*
I found /boot/grub/menu.lst (inside the iso) and found this:
title Boot Arch Linux Live CD
kernel /boot/vmlinuz26 lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
initrd /boot/archiso_pata.img
There's the path for the initrd
*Edit #2*
"You need to load the kernel first." Well duh. You're supposed to do that grub.
Last edited by jordanwb (2009-11-10 19:37:19) -
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. -
Howto install Arch from iso (without buring CD) -unable to chroot ...
Hi.
I have successfully used the method to install from another linux partition in the past - as outlined here - http://wiki.archlinux.org/index.php/Ins … ting_Linux
- However I want to install the X86_64 version and my current machine doesn't have a pre-existing 64bit distro to chroot from....
I do not want to use floppy or cd to install - I always install from iso now, managed to get Fedora,Ubuntu, Gentoo and opensuse to install without burning the iso - Installing from iso is usually quicker and less prone to errors.........
I've tried the old method to boot from iso - here - http://wiki.archlinux.org/index.php/Fas … nux_System
However when I boot I get this
:: Scanning for boot cdrom device...
Failed to mount /dev/cd/cdrom-sr0
Failed to mount /dev/cd/cdrw-sr0
Failed to mount /dev/cd/dvd-sr0
ERROR: cannot find booted cdrom device, cannot continue...
Kernel panic - not syncing: Attempted to kill init!
Below is my grub menu.lst
title ArchCD
kernel (hd0,5)/boot/vmlinuz26 root=/dev/sda6 BOOTMEDIA=cd
initrd (hd0,5)/boot/archlive.img
Also tried (and various other combinations)
title ArchCD
kernel (hd0,5)/boot/vmlinuz26 root=/dev/sda6 BOOTMEDIA=cd lang=en locale=en_US.UTF-8 ramdisk_size=75%
initrd (hd0,5)/boot/archlive.img
Has anyone got any ideas ?
CheersYou could try something like UNetbootin.
-
Arch Linux iso and img metalinks
I've finally created a script to automatically generate metalinks for the current iso and img downloads using the most recent official mirrorlist
The generated metalinks are currently listed here: http://xyne.archlinux.ca/arch
I might move the links page around on the site but the metalink directory should not change. If any of the site admins would like to include these on the downloads page, send me an email so we can work out the optimal way of doing it (e.g. I could create a custom page that you could scrape and show you how to update the metalinks via the web interface when mirrorlists/downloads change).
For anyone not familiar with metalinks, here's an example of how to use one with aria2c:
aria2c --follow-metalink=mem -j45 -C45 http://xyne.archlinux.ca/metalinks/archlinux-2009.02-ftp-x86_64.iso.metalink
aria2c should be capable of downloading from the metalink and the torrent simultaneously but I gave up trying to get it to work after a couple of minutes.
The Firefox add-on "DownThemAll!" can also handle metalinks.
archlinux-*-all.metalink contains all of the files. Don't use this link unless you either:
a) really need all of the files
b) know how to select files from a metalink
Last edited by Xyne (2009-04-24 22:05:25)Xyne wrote:@Dieter@be
The post about metalinks on pacman-dev reminded me about this thread. The advantage of the metalinks over torrents, even webseeded torrents, is that you don't need a torrent client to download them. You can use DownThemAll (and maybe other add-ons) to download them directly in Firefox, for example.
exactly, most download apps (FTP clients, non-torrent P2P clients, most download managers, and browsers, with the exception of Opera) don't support torrents directly. and there are many situations where P2P uploading is banned or frowned upon, like corporate/university networks, places with slow uplink, misconfigured hardware, etc...
torrents are awesome, but they're not a perfect fit in every situation. metalinks give you alternates, failover options, P2P-like features - so if there's any way for a download to complete, it will. there's the slightly added complexity & effort of getting em in place, but once that's automated it's usually pretty helpful.
here's a good description of the situation:
http://www.techradar.com/news/computing … ads-611025 -
Bootfix.bin -- Removed from ISO and started Installation
Hi,
I am facing the issue in bootfix.bin
I have tried to skip "Press any key to boot from CD/DVD" by removing the
bootfix.bin file in the ISO and I have recreated the ISO.
It is working and it is skipping the step. But after Installing files, the server is rebooting so during that time it is again starting from first.
Can anyone provide solution for it.
Thanks in Advance.
Srikantan.
SrikantanHi,
Please refer to this discussion:
Windows boot iso file without press any key
http://serverfault.com/questions/353826/windows-boot-iso-file-without-press-any-key
Alex Zhao
TechNet Community Support -
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) -
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.
-
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? -
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 -
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 -
New iMac will not boot, even from disk and in Safe Mode
I'm stuck on the grey spinny screen.
Here's what happened:
I tried to share my Macintosh HD on my network, then, when it was finished, a whole bunch of errors popped up saying that I would have to reinstall. So I restarted, now it chimes and boots to the grey screen and is stuck there. I tried to boot from the CD, but it didn't work, I also tried to use the reinstall disk which didn't work either.MashedPotato wrote:
Thanks for the help, All I had to do was fix the disk permissions.
I wasn't waiting long enough for it to boot from the disk.
Your welcome and thanks for the star. Yes it take longer to boot because discs are not as quick as disks. -
Having Trouble Installing Visual C# 2010 Express from ISO and from Web
I have Windows 7 Home Premium Service Pack 1, and I am trying to install Microsoft Visual C# 2010 Express from the Web and also tried from the ISO. But, the installation program is stalling and then not installing the programs....any ideas on what I can
do to help with this install. Thanks.Hello JWDog,
Please following the article below to collect logs:
https://support.microsoft.com/en-us/kb/2899270?wa=wsignin1.0
Download the
Microsoft Visual Studio and .NET Framework Log Collection tool
(http://www.microsoft.com/en-us/download/details.aspx?id=12493)
(collect.exe).
Run the collect.exe tool from the directory where you saved the tool.
The utility creates a compressed cabinet file of all the VS and .NET logs to %TEMP%\vslogs.cab.
Post the vslogs.cab file with some descriptions of your issue to the forum.
You can also use this page
https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs to verify your ISO checksum.
In my point of view, the error of the setup crash may need to check the following:
Verify that you have installed all your Windows Updates
Verify that you have disabled any anti-virus software
Verify that your OS is update to date, for example, if you are using Win 7 please remember to update to Win 7 SP1.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
How to remove an object from a diagram
Hello, Is there are way to remove (cut) an entity from a diagram (sub-view) in Data Modeler? I can only find a delete function which will delete it from the model altogether. I'd like to just remove the entity from the diagram and leave it in the mod
-
HT201317 My photo stream just stopped suddenly.
I cannot get my photos to upload on to my PC. It used to work - now it doesnt. This all started about a month and a half ago. I have established a new folder and also downloaded the new software - still nothing. What can I do here? I have a PC by th
-
Ok. The red line marker in the the time line that indicates where the position of the playing head is not the same position as the main viewing screen. I click and highlight a clip in the timeline and a different one further down the line is displaye
-
ESATA and "housed" internal drive connection to MACBook
Hello, I have a MAC Pro and old style white MACBook. As a fallback in case my MAC Pro gives up the ghost once we have moved out of Apple Support territory (could be 4 years), it has been suggested that I might take an external Drive housing with me s
-
Myphone as "frozen" can move from screen can't turn off how can I fix this ? I fix this?
Myphone just froze in an email won't changs oan't turn off anyone know about this problem and how to fix it?