You are not logged in.

#1 2012-01-15 14:54:07

manish411
Member
Registered: 2012-01-14
Posts: 15

installing arch linux on a flash drive.

I have installed arch linux on a flash drive. The flash drive is divided into 4 partitions as

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         100      102384   83  Linux
/dev/sdb2             101         356      262144   82  Linux swap / Solaris
/dev/sdb3             357        1533     1205248   83  Linux
/dev/sdb4            1534        1926      402432   83  Linux
utkarsh@utkarsh-laptop:~$ sudo blkid
/dev/sda1: UUID="edc30674-5e24-46ae-865c-647b5af6a1ca" TYPE="ext4" 
/dev/sda5: UUID="8045e664-17ad-4bfd-8b5e-56d7f17fbcdd" TYPE="swap" 
/dev/sdb1: UUID="6900b21c-e694-446c-b6fb-cf24853e0d3a" TYPE="ext2" 
/dev/sdb2: UUID="eca916eb-d95c-4553-81e9-2ba6ae41e3bc" TYPE="swap" 
/dev/sdb3: UUID="d79c9e51-45cd-4c19-b41d-db73a9e1be87" TYPE="ext3" 
/dev/sdb4: UUID="2ffcb236-558e-43a9-b16b-bfa3c38b34e9" TYPE="ext3" 
utkarsh@utkarsh-laptop:~$ 

and the content of fstab looks like

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
UUID=2ffcb236-558e-43a9-b16b-bfa3c38b34e9 /home ext3 defaults 0 1
UUID=6900b21c-e694-446c-b6fb-cf24853e0d3a /boot ext2 defaults 0 1
UUID=d79c9e51-45cd-4c19-b41d-db73a9e1be87 / ext3 defaults 0 1
UUID=eca916eb-d95c-4553-81e9-2ba6ae41e3bc swap swap defaults 0 0

When I try to boot from the grub menu the partition with

 /dev/sdb4: UUID="2ffcb236-558e-43a9-b16b-bfa3c38b34e9" TYPE="ext3" 

cannot be mounted and I am greeted with the message that the filesystem cannot be identified and I am put into a rescue mode.However
by running fdisk command as shown above it is clearly indicated that the partition is ext3 .

Offline

#2 2012-01-15 15:35:02

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: installing arch linux on a flash drive.

Perhaps you will get it to run with an added kernel line denoting ....root=/dev/sdxx....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2012-01-15 15:37:39

manish411
Member
Registered: 2012-01-14
Posts: 15

Re: installing arch linux on a flash drive.

thnx for the quick update
here is my menu.lst file

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/d79c9e51-45cd-4c19-b41d-db73a9e1be87 ro
initrd /initramfs-linux.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/d79c9e51-45cd-4c19-b41d-db73a9e1be87 ro
initrd /initramfs-linux-fallback.img

# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1

how should I edit this?

Offline

Board footer

Powered by FluxBB