LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2017, 02:59 PM   #1
BratPit
Member
 
Registered: Jan 2011
Posts: 250

Rep: Reputation: 100Reputation: 100
Trouble with iso2usb script


Script stops at line 642

Quote:
tune2fs -c 0 -i 0 -m 0 ${FEAT_64BIT} ${TARGET}3
and exit with message:

Quote:
wrong filesystem option ^64bit
????
 
Old 10-09-2017, 03:37 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Somewhere the script is setting a variable called FEAT_64BIT to have the value ^64bit.

If you look at "man tune2fs" it tells you that when you preceded "feature" with a carat it means to remove that feature.

The error you're getting is saying the feature, 64bit, isn't valid. (Or it the script is treating the ^ as a literal character rather than allowing its special remove meaning to happen.)

Since tune2fs is designed for ext2/ext3/ext4 filesystems one possible issue is the filesystem itself is NOT one of those.

What does "tune2fs -l" on your target filesystem show?
 
Old 10-09-2017, 04:17 PM   #3
BratPit
Member
 
Registered: Jan 2011
Posts: 250

Original Poster
Rep: Reputation: 100Reputation: 100
Here it is..

Quote:
[23:14:30 --> root in po]$ tune2fs -l
tune2fs 1.43.1 (08-Jun-2016)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-f] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
[-p mmp_update_interval] [-r reserved_blocks_count] [-u user]
[-C mount_count] [-L volume_label] [-M last_mounted_dir]
[-O [^]feature[,...]] [-Q quota_options]
[-E extended-option[,...]] [-T last_check_time] [-U UUID]
[-I new_inode_size] [-z undo_file] device
 
Old 10-09-2017, 04:37 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by BratPit View Post
Script stops at line 642 and exit with message:
????
Two lines above that line, try changing
Code:
FEAT_64BIT="-O '^64bit'"
to
Code:
FEAT_64BIT="-O ^64bit"
and tell me what happens then.
 
1 members found this post helpful.
Old 10-09-2017, 04:39 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

What distribution are you using with the script? You could refresh your understanding by reading Eric's blog entry; https://alien.slackbook.org/blog/tag/live/

Hope this helps.
Have fun & enjoy!
 
Old 10-09-2017, 05:30 PM   #6
BratPit
Member
 
Registered: Jan 2011
Posts: 250

Original Poster
Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by Alien Bob View Post
Two lines above that line, try changing
Code:
FEAT_64BIT="-O '^64bit'"
to
Code:
FEAT_64BIT="-O ^64bit"
and tell me what happens then.
It helped install on USB, but I can not boot from USB .
Always restarting during load /GRUB/.

I also dd-ing iso to USB and in that way it works properly.

It have legacy boot not UEFI in BIOS.

SOLVED: I repeated install procedure once again and now works.

THX Eric.

Last edited by BratPit; 10-09-2017 at 06:14 PM.
 
Old 10-11-2017, 09:15 AM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by BratPit View Post
Here it is..
[23:14:30 --> root in po]$ tune2fs -l"
You have to specify the target filesystem as I wrote (the "device" at end of line as shown in the usage output you got).

e.g. if your USB got recognized as /dev/sdh you'd run:

tune2fs -l /dev/sdh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Liveslak iso2usb error dr.s Slackware 1 10-04-2017 04:05 AM
[SOLVED] Script trouble torito Linux - Newbie 10 06-08-2016 10:50 AM
Trouble with script gilad73 Linux - Newbie 8 07-30-2012 05:57 AM
Convert ksh script into bsh script trouble dan-e Linux - Newbie 1 05-09-2011 01:11 AM
Trouble with script and bc Freestone Linux - General 4 10-11-2006 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration