You are not logged in.

#1 2012-02-04 16:46:13

salove
Member
Registered: 2012-02-04
Posts: 2

Installation from Hard Disk (HD) Partition

hi

has anyone successfully installed this distro from a hard drive partition, or is there a relevent wiki?

i am trying to install on a machine with no working USB or CD/DVD.  machine has windows 7 (need to keep), 1 HD, several partitions and grub4dos installed.  I do not want to mess with MBR.

have tried various methods and various ISOs.  can boot kernel but always end up at rootfs or ramfs prompt.

i have put the ISO on a clean FAT32 parition and also extracted it there and copied vmlinuz and archiso.img to root of partition. tried labelling it ARCH_201201 etc.

perhaps im misunderstanding how to write the grub menu.lst entry.

if i try this:


title FROM unpacked E hd0,5
root (hd0,5)
kernel (hd0,5)/isolinux/vmlinuz
initrd (hd0,5)/isolinux/archiso.img

i get the famous "did not show up after 30 seconds" what is this by-label business all about??? why does this distro complicate the simplest of matters!

trying:

title arch FROM E
find --set-root /frome.tag
map /archlinux-2012.01.29_04-00-01-core-x86_64.iso (hd32)
map --hook
root (hd32)
kernel /arch/boot/x86_64/vmlinuzlang=en locale=en_UK.UTF-8 img_dev=/dev/sda7 img_loop=archlinux-2012.01.29_04-00-01-core-x86_64.iso earlymodules=loop
initrd /arch/boot/x86_64/archiso.img
boot

i it seems to mount the loopback but i get "bio too big" errors.

muchas thankyous smile

ps im totally unfamiliar with squashfs - sounds like a tasty cordial :-)

Last edited by salove (2012-02-04 18:15:56)

Offline

#2 2012-02-04 20:16:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Installation from Hard Disk (HD) Partition

Use LinuxLive USB Creator and choose a FAT/FAT32 partition.

I suggest you install Arch a few times in VirtualBox (on Windows) before you attempt anything.


PS: I completely agree about the label thing.

Last edited by DSpider (2012-02-04 20:27:02)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-02-04 20:31:57

salove
Member
Registered: 2012-02-04
Posts: 2

Re: Installation from Hard Disk (HD) Partition

DSpider wrote:

Use LinuxLive USB Creator and choose a FAT/FAT32 partition.

I suggest you install Arch a few times in VirtualBox (on Windows) before you attempt anything.


PS: I completely agree about the label thing.

thanks for the tip - might just do that. but i would highly recommend anyone in a similar position to NOT USE linuxliveusb - it will fck with mbr - its a real mbrfckr heheh wink

at the moment attempting to follow this guide: https://wiki.archlinux.org/index.php/Fa … .27s_Image

but adapt it to windows smile)) + cygwin + 7-zip beta 9.25 - this should be fun hahahha

Last edited by salove (2012-02-05 02:48:42)

Offline

#4 2012-02-08 21:33:31

eticre
Member
Registered: 2011-10-15
Posts: 55

Re: Installation from Hard Disk (HD) Partition

hi

i installed arch from partition to another without problem, there is only a tip, the label name of partition must be "ARCH_201108" or the same
as iso name used

in sda4 partition simply extract iso files in their directory

[root@tarocco ARCH_201108]# ls
arch  boot  isolinux  lost+found
[root@tarocco ARCH_201108]# ls *
arch:
aitab  any  boot  checksum.md5  x86_64

boot:
grub  initramfs-linux-fallback.img  initramfs-linux.img  vmlinuz-linux

isolinux:
boot.cat  isolinux.bin  isolinux.cfg

lost+found:
[root@tarocco ARCH_201108]#

this is grub config

### 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.
menuentry 'arch inst sda4' {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos4)'
    linux    /arch/boot/x86_64/vmlinuz root=/dev/sda4 archisobasedir=arch archisolabel=ARCH_201108
    initrd    /arch/boot/x86_64/archiso.img
}
### END /etc/grub.d/40_custom ###

Offline

Board footer

Powered by FluxBB