Change boot device

This forum is for all other ARMv5 devices

Change boot device

Postby dinjo » Sat Dec 01, 2012 7:45 am

I wanted to switch over from myusb to USB HDD and i followed the below instructions but it does not seems to be booting i tried front usb blinking green light back usb i got green lights every 4-5 seconds.

http://archlinuxarm.org/support/reinstallation

Its the Label Data which is now I'm trying to use as boot device

$this->bbcode_second_pass_code('', '[root@alarm ~]$ blkid
/dev/ubi0_0: UUID="fee2a8b2-0dde-49b4-bf18-bddf61acce52" TYPE="ubifs"
/dev/sda1: UUID="1c29b948-c0bd-4685-8ae3-8e38a6210291" TYPE="ext3"
/dev/sdb2: LABEL="Data" UUID="2ba032fc-0e7e-4563-aa0d-77a89b35cdd2" TYPE="ext3"
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Change boot device

Postby WarheadsSE » Sat Dec 01, 2012 5:44 pm

Pull the second drive and see if it boots.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Change boot device

Postby dinjo » Sun Dec 02, 2012 5:43 pm

I'm keeping one drive and with my usb it always boot but with this usb hdd which is replicated doesn't seems booting would that label be stopping it?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Change boot device

Postby xenoxaos » Sun Dec 02, 2012 5:56 pm

The oxnas devices don't depend on a filesystem label. The kernel/bootargs will boot /dev/sda1 every time.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Change boot device

Postby dinjo » Mon Dec 03, 2012 1:31 am

I think the USB HDD is recognized as /dev/sdb? maybe thats the reason its not booting from USB HDD
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Change boot device

Postby dinjo » Tue Dec 04, 2012 4:31 am

Any clues on this want to use the USB hdd
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Change boot device

Postby pepedog » Tue Dec 04, 2012 10:13 am

If it is the only usb drive when booting, it will always be sda1.
Plug in extra drives after boot
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Change boot device

Postby dinjo » Tue Dec 04, 2012 12:45 pm

Yes but it does not when USB HDD only is attached
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Change boot device

Postby xenoxaos » Tue Dec 04, 2012 1:48 pm

Hook up a TTL serial cable and find out what's happening.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Change boot device

Postby dinjo » Tue Dec 04, 2012 2:06 pm

Here are the drive details in case it helps

$this->bbcode_second_pass_code('', '[root@alarm ~]$ parted /dev/sdb2 print
Model: Unknown (unknown)
Disk /dev/sdb2: 499GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 499GB 499GB ext3

[root@alarm ~]$ fdisk -l /dev/sdb2

Disk /dev/sdb2: 499.0 GB, 498970132480 bytes, 974551040 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
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Next

Return to Community Supported

Who is online

Users browsing this forum: Google [Bot] and 13 guests

cron